home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / themes / New Wave Dark Menus / gtk-2.0 / default-gtkrc next >
Encoding:
Text File  |  2009-03-23  |  120.1 KB  |  4,658 lines

  1. #
  2. #==========================================
  3. #     New Wave Pixmap Theme
  4. #==========================================
  5. #
  6. # Based on: Ubuntu Human-Clearlooks
  7. #
  8. # Author:
  9. # Anton Kerezov <ankere@gmail.com>
  10. #
  11. # Former Authors:
  12. # Giuseppe Pennisi <giupenni78@gmail.com>
  13. #
  14. # Feel free to modify and share!
  15. # Licensed under Creative Commons 3.0
  16. #
  17. # Major Version: 0.8
  18.  
  19.  
  20. # Default color values used in Appearance Manager
  21. gtk_color_scheme = "fg_color: #101010\nbg_color: #E5E5E5\nbase_color: #FFFFFF\ntext_color: #1A1A1A\nselected_bg_color: #FF8F4C\nselected_fg_color: #1A1A1A\ntooltip_bg_color:#FFE6C4\ntooltip_fg_color:#330606"
  22. gtk-enable-animations = 1    # so that we can use pulsation on windows that need attention
  23. gtk-tooltip-timeout   = 1000 # Tooltips appear too fast so I modify the delay to 1 sec.
  24.  
  25. #=========================================================
  26. # The Base style
  27. #=========================================================
  28. style "newwave-default"
  29. {
  30.     xthickness = 1
  31.     ythickness = 1
  32.  
  33.         #=========================================================
  34.         # General Style Properties
  35.         #=========================================================
  36.     
  37.     GtkButton      ::child-displacement-x = 1
  38.     GtkButton      ::child-displacement-y = 1
  39.     GtkButton      ::default-border       = { 0, 0, 0, 0 }
  40.     
  41.     GtkCheckButton ::indicator-size       = 14
  42.  
  43.     GtkPaned       ::handle-size          = 6
  44.     
  45.     GtkRange       ::trough-border        = 0
  46.     GtkRange       ::slider-width         = 21
  47.     GtkRange       ::stepper-size         = 21
  48.     GtkRange       ::stepper-spacing      = 0
  49.     GtkRange       ::activate-slider      = 1
  50.     
  51.     GtkScale       ::slider-length        = 17
  52.     GtkScale       ::trough-side-details  = 0 # @author:dilomo@ Do not change or will break consistancy
  53.     
  54.     GtkScrollbar   ::min-slider-length    = 30
  55.     GtkScrollbar   ::slider-width         = 18
  56.     GtkScrollbar   ::stepper-size         = 18
  57.     GtkScrollbar   ::activate-slider      = 1
  58.     GtkScrollbar   ::trough-under-steppers= 1
  59.     # Set this (not all ofcourse) properties to '1' of you wish the stepper arrows to be visible
  60.     GtkScrollbar   ::has-backward-stepper = 0
  61.     GtkScrollbar   ::has-forward-stepper  = 1
  62.     GtkScrollbar   ::has-secondary-backward-stepper = 1
  63.     GtkScrollbar   ::has-secondary-forward-stepper = 0
  64.     
  65.     GimpColorNotebook::tab-border           = 1
  66.     GimpDockSeparator::height               = 10
  67.     
  68.     GtkMenuBar     ::shadow-type          = GTK_SHADOW_NONE # @author:dilomo@ Remove separator from Menubar
  69.     GtkMenuBar     ::internal-padding     = 1
  70.     
  71.     GtkMenu        ::horizontal-padding   = 3
  72.     GtkMenu        ::vertical-padding     = 1
  73.     GtkMenu        ::horizontal-offset    = -1
  74.     
  75.     GtkExpander    ::expander-size        = 16
  76.     
  77.     GtkToolbar     ::internal-padding     = 2
  78.     GtkToolbar     ::shadow-type          = GTK_SHADOW_NONE # @author:dilomo@ Remove separators from Toolbars
  79.  
  80.     GtkTreeView    ::expander-size        = 14
  81.     GtkTreeView    ::vertical-separator   = 0
  82.     GtkTreeView    ::horizontal-separator = 2
  83.     GtkTreeView    ::allow-rules           = 0 # Don't use different color for odd rows
  84.     GtkTreeView    ::row-ending-details   = 1 # Allow for rounded endings and transparent active rows
  85.     
  86.     GtkStatusbar   ::shadow_type          = GTK_SHADOW_NONE #@author: gp@ Remove separator from Statusbar
  87.     
  88.     GtkProgressBar ::shadow-type          = GTK_SHADOW_NONE
  89.     
  90.     GtkWidget    ::cursor-aspect-ratio = 0.05
  91.     
  92.     # This is the pulsating rect that appears on newly launched apps    
  93.     WnckTasklist   ::fade-overlay-rect    = 1
  94.     WnckTasklist   ::fade-opacity         = 0.6
  95.     
  96.     NautilusIconContainer::highlight_alpha= 145 # Add transparency to Nautilus selection color.
  97.  
  98.  
  99.     fg[NORMAL]        = @fg_color
  100.     fg[PRELIGHT]      = @fg_color
  101.     fg[SELECTED]      = @selected_fg_color
  102.     fg[ACTIVE]        = @fg_color
  103.     fg[INSENSITIVE]   = darker (@bg_color)
  104.  
  105.     bg[NORMAL]        = @bg_color
  106.     bg[PRELIGHT]      = shade (1.02, @bg_color)
  107.     bg[SELECTED]      = mix (0.25, @fg_color, @selected_bg_color)
  108.     bg[INSENSITIVE]   = @bg_color
  109.     bg[ACTIVE]        = shade (0.9, @bg_color)
  110.  
  111.     base[NORMAL]      = @base_color
  112.     base[PRELIGHT]    = shade (0.95, @bg_color)
  113.     base[ACTIVE]      = shade (0.90, @bg_color)
  114.     base[SELECTED]    = mix(0.50, shade (1.05,@selected_bg_color), @tooltip_bg_color)
  115.     base[INSENSITIVE] = @bg_color
  116.  
  117.     text[NORMAL]      = @text_color
  118.     text[PRELIGHT]    = @text_color
  119.     text[ACTIVE]      = @selected_fg_color
  120.     text[SELECTED]    = @selected_fg_color
  121.     text[INSENSITIVE] = darker (@bg_color)
  122.     
  123.     
  124.     engine "pixmap"
  125.     {
  126.     
  127.     # Shadows 
  128.     
  129.     image
  130.     {
  131.         function        = SHADOW
  132.         shadow            = IN
  133.         recolorable        = TRUE
  134.         file            = "Images/Shadows/shadow-in.png"
  135.         border            = { 1, 1, 2, 2}
  136.         stretch            = TRUE
  137.     }
  138.     image
  139.     {
  140.         function        = SHADOW
  141.         shadow            = OUT
  142.         recolorable        = TRUE
  143.         file            = "Images/Shadows/shadow-out.png"
  144.         border            = { 1, 1, 2, 2}
  145.         stretch            = TRUE
  146.     }
  147.  
  148.     image
  149.     {
  150.         function        = SHADOW
  151.         shadow            = ETCHED_IN
  152.         recolorable        = TRUE
  153.         file            = "Images/Frame-Gap/frame-etched-out.png"            
  154.         border            = { 1, 1, 1, 2}
  155.         stretch            = TRUE
  156.     }
  157.     image
  158.     {
  159.         function        = SHADOW
  160.         shadow            = ETCHED_OUT
  161.         recolorable        = TRUE
  162.         file            = "Images/Shadows/shadow-etched-out.png"
  163.         border            = { 1, 1, 1, 1}
  164.         stretch            = TRUE
  165.     }
  166.     
  167.     
  168.     # Frame (Shadow in)
  169.     image
  170.     {
  171.         function        = SHADOW_GAP
  172.         shadow            = IN 
  173.         recolorable        = TRUE
  174.         file            = "Images/Frame-Gap/frame-in.png"
  175.         border            ={ 4, 4, 4, 4}
  176.         stretch            = TRUE
  177.         gap_start_file        = "Images/Frame-Gap/frame-gapstart-in.png"
  178.         gap_start_border    = { 4, 0, 4, 0}
  179.         gap_end_file        = "Images/Frame-Gap/frame-gapend-in.png"
  180.         gap_end_border        = { 0, 4, 4, 0}
  181.         gap_side        = TOP
  182.     }
  183.     
  184.     
  185.     # Frame (Shadow out)
  186.     image
  187.     {
  188.         function        = SHADOW_GAP
  189.         shadow            = OUT
  190.         recolorable        = TRUE
  191.         file            = "Images/Frame-Gap/frame-out.png"
  192.         border            = { 4, 4, 4, 4}
  193.         stretch            = TRUE
  194.         gap_start_file        = "Images/Frame-Gap/frame-gapstart-out.png"
  195.         gap_start_border    = { 4, 0, 4, 0}
  196.         gap_end_file        = "Images/Frame-Gap/frame-gapend-out.png"
  197.         gap_end_border        = { 0, 4, 4, 0}
  198.         gap_side        = TOP
  199.     }
  200.     
  201.     # Frame (Shadow etched in)
  202.     image
  203.     {
  204.         function        = SHADOW_GAP
  205.         shadow            = ETCHED_IN 
  206.         recolorable        = TRUE
  207.         file            = "Images/Frame-Gap/frame-etched-in.png"
  208.         border            = { 1, 1, 4, 4}
  209.         stretch            = TRUE
  210.         gap_start_file        = "Images/Frame-Gap/frame-gapstart-ein.png"
  211.         gap_start_border    = { 2, 2, 2, 2}
  212.         gap_end_file        = "Images/Frame-Gap/frame-gapend-ein.png"
  213.         gap_end_border        = { 2, 2, 2, 2}
  214.         gap_side        = TOP
  215.     }
  216.     
  217.     # Frame (Shadow etched out)
  218.     image
  219.     {
  220.         function        = SHADOW_GAP
  221.         shadow            = ETCHED_OUT
  222.         recolorable        = TRUE
  223.         file            = "Images/Frame-Gap/frame-etched-out.png"
  224.         border            = { 0, 0, 0, 2}
  225.         stretch            = TRUE
  226.         gap_start_file        = "Images/Frame-Gap/gap-etched-out.png"
  227.         #gap_start_border    = { 2, 2, 2, 2}
  228.         gap_end_file        = "Images/Frame-Gap/gap-etched-out.png"
  229.         #gap_end_border        = { 2, 2, 2, 2}
  230.         gap_side        = TOP
  231.     }
  232.     
  233.     
  234.         # Handles (normal, prelight and insensitive)
  235.         image
  236.         {
  237.               function        = HANDLE
  238.               recolorable        = TRUE
  239.               state                   = NORMAL
  240.                  overlay_file        = "Images/Panel/handle-h.png"
  241.                overlay_stretch        = FALSE
  242.                 orientation        = HORIZONTAL
  243.         }
  244.         image
  245.         {
  246.               function        = HANDLE
  247.               recolorable        = TRUE
  248.               state                   = PRELIGHT
  249.                  overlay_file        = "Images/Panel/handle-h-prelight.png"
  250.                overlay_stretch        = FALSE
  251.                 orientation        = HORIZONTAL
  252.         }
  253.         image
  254.         {
  255.               function        = HANDLE
  256.               recolorable        = TRUE
  257.               state                   = ACTIVE
  258.                  overlay_file        = "Images/Panel/handle-h-pressed.png"
  259.                overlay_stretch        = FALSE
  260.                 orientation        = HORIZONTAL
  261.         }
  262.         image
  263.         {
  264.               function        = HANDLE
  265.               recolorable        = TRUE
  266.               state                   = INSENSITIVE
  267.                  overlay_file        = "Images/Panel/handle-h-insens.png"
  268.                overlay_stretch        = FALSE
  269.                 orientation        = HORIZONTAL
  270.         }
  271.         
  272.         ## vertical handle
  273.         image
  274.         {
  275.               function        = HANDLE
  276.               recolorable        = TRUE
  277.               state                   = NORMAL
  278.                  overlay_file        = "Images/Panel/handle-v.png"
  279.                overlay_stretch        = FALSE
  280.                 orientation        = VERTICAL
  281.         }
  282.         image
  283.         {
  284.               function        = HANDLE
  285.               recolorable        = TRUE
  286.               state                   = PRELIGHT
  287.                  overlay_file        = "Images/Panel/handle-v-prelight.png"
  288.                overlay_stretch        = FALSE
  289.                 orientation        = VERTICAL
  290.         }
  291.         image
  292.         {
  293.               function        = HANDLE
  294.               recolorable        = TRUE
  295.               state                   = ACTIVE
  296.                  overlay_file        = "Images/Panel/handle-v-pressed.png"
  297.                overlay_stretch        = FALSE
  298.                 orientation        = VERTICAL
  299.         }
  300.         image
  301.         {
  302.               function        = HANDLE
  303.               recolorable        = TRUE
  304.               state                   = INSENSITIVE
  305.                  overlay_file        = "Images/Panel/handle-v-insens.png"
  306.                overlay_stretch        = FALSE
  307.                 orientation        = VERTICAL
  308.         }
  309.        
  310.        # Lines
  311.        image
  312.        {
  313.                function        = VLINE
  314.                recolorable        = TRUE
  315.                file            = "Images/Lines/line-v.png"
  316.                #border            = { 0, 1, 0, 0 }
  317.                stretch            = TRUE
  318.       }
  319.       
  320.       image
  321.       {
  322.               function        = HLINE
  323.              recolorable        = TRUE
  324.               file            = "Images/Lines/line-h.png"
  325.               #border            = { 1, 1, 0, 1 }
  326.               stretch            = TRUE
  327.       }
  328.     
  329.       #@author:dilomo@  focus image used on buttons any derivatives (check box, combo and so on) Now obsolate!
  330.       image
  331.       {
  332.               function        = FOCUS
  333.           recolorable        = TRUE
  334.             file            = "Images/Others/focus.png"
  335.             border            = { 2, 2, 2, 2 }
  336.              stretch            = TRUE
  337.       }
  338.                
  339.       # Arrows (all states)
  340.       image
  341.       {
  342.          function        = ARROW
  343.         recolorable        = TRUE
  344.         state                   = NORMAL
  345.         overlay_file        = "Images/Arrows/arrow-up.png"
  346.         overlay_border        = { 0, 0, 0, 0 }
  347.         overlay_stretch        = FALSE
  348.         arrow_direction        = UP
  349.       }
  350.       
  351.       image
  352.       {
  353.         function        = ARROW
  354.         state            = PRELIGHT
  355.         recolorable        = TRUE
  356.         overlay_file        = "Images/Arrows/arrow-up-prelight.png"
  357.         overlay_border        = { 0, 0, 0, 0 }
  358.         overlay_stretch        = FALSE
  359.         arrow_direction        = UP
  360.       }
  361.      
  362.      image
  363.       {
  364.         function        = ARROW
  365.         state            = ACTIVE
  366.         recolorable        = TRUE
  367.         overlay_file        = "Images/Arrows/arrow-up-pressed.png"
  368.         overlay_border        = { 0, 0, 0, 0 }
  369.         overlay_stretch        = FALSE
  370.         arrow_direction        = UP
  371.       }
  372.       
  373.       image
  374.       {
  375.         function        = ARROW
  376.         state            = INSENSITIVE
  377.         recolorable        = TRUE
  378.         overlay_file        = "Images/Arrows/arrow-up-insens.png"
  379.         overlay_border        = { 0, 0, 0, 0 }
  380.         overlay_stretch        = FALSE
  381.         arrow_direction        = UP
  382.       }
  383.       
  384.       image
  385.       {
  386.               function        = ARROW
  387.               state            = NORMAL
  388.               recolorable        = TRUE
  389.               overlay_file        = "Images/Arrows/arrow-down.png"
  390.               overlay_border        = { 0, 0, 0, 0 }
  391.              overlay_stretch        = FALSE
  392.              arrow_direction        = DOWN
  393.       }
  394.         
  395.       image
  396.       {
  397.         function        = ARROW
  398.         state            = PRELIGHT
  399.         recolorable        = TRUE
  400.         overlay_file        = "Images/Arrows/arrow-down-prelight.png"
  401.         overlay_border        = { 0, 0, 0, 0 }
  402.         overlay_stretch        = FALSE
  403.         arrow_direction        = DOWN
  404.      }
  405.     
  406.      image
  407.      {
  408.         function        = ARROW
  409.         state            = ACTIVE
  410.         recolorable        = TRUE
  411.         overlay_file        = "Images/Arrows/arrow-down-pressed.png"
  412.         overlay_border        = { 0, 0, 0, 0 }
  413.         overlay_stretch        = FALSE
  414.         arrow_direction        = DOWN
  415.      }
  416.  
  417.      image
  418.      {
  419.         function        = ARROW
  420.         state            = INSENSITIVE
  421.         recolorable        = TRUE
  422.         overlay_file        = "Images/Arrows/arrow-down-insens.png"
  423.         overlay_border        = { 0, 0, 0, 0 }
  424.         overlay_stretch        = FALSE
  425.         arrow_direction        = DOWN
  426.      }
  427.  
  428.      image
  429.      {
  430.         function        = ARROW
  431.         recolorable        = TRUE
  432.         state                   = NORMAL
  433.         overlay_file        = "Images/Arrows/arrow-left.png"
  434.         overlay_border        = { 0, 0, 0, 0 }
  435.         overlay_stretch        = FALSE
  436.         arrow_direction        = LEFT
  437.       }
  438.       
  439.       image
  440.       {
  441.         function        = ARROW
  442.         recolorable        = TRUE
  443.         state                   = PRELIGHT
  444.         overlay_file        = "Images/Arrows/arrow-left-prelight.png"
  445.         overlay_border        = { 0, 0, 0, 0 }
  446.         overlay_stretch        = FALSE
  447.         arrow_direction        = LEFT
  448.       }
  449.       
  450.       image
  451.       {
  452.         function        = ARROW
  453.         recolorable        = TRUE
  454.         state                   = ACTIVE
  455.         overlay_file        = "Images/Arrows/arrow-left-pressed.png"
  456.         overlay_border        = { 0, 0, 0, 0 }
  457.         overlay_stretch        = FALSE
  458.         arrow_direction        = LEFT
  459.       }
  460.       
  461.       image
  462.       {
  463.         function        = ARROW
  464.         recolorable        = TRUE
  465.         state                   = INSENSITIVE
  466.         overlay_file        = "Images/Arrows/arrow-left-insens.png"
  467.         overlay_border        = { 0, 0, 0, 0 }
  468.         overlay_stretch        = FALSE
  469.         arrow_direction        = LEFT
  470.       }
  471.       
  472.       image
  473.       {
  474.         function        = ARROW
  475.         recolorable        = TRUE
  476.         state                   = NORMAL
  477.         overlay_file        = "Images/Arrows/arrow-right.png"
  478.         overlay_border        = { 0, 0, 0, 0 }
  479.         overlay_stretch        = FALSE
  480.         arrow_direction        = RIGHT
  481.       }
  482.       
  483.       image
  484.       {
  485.         function        = ARROW
  486.         recolorable        = TRUE
  487.         state                   = PRELIGHT
  488.         overlay_file        = "Images/Arrows/arrow-right-prelight.png"
  489.         overlay_border        = { 0, 0, 0, 0 }
  490.         overlay_stretch        = FALSE
  491.         arrow_direction        = RIGHT
  492.       }
  493.       
  494.       image
  495.       {
  496.         function        = ARROW
  497.         recolorable        = TRUE
  498.         state                   = ACTIVE
  499.         overlay_file        = "Images/Arrows/arrow-right-pressed.png"
  500.         overlay_border        = { 0, 0, 0, 0 }
  501.         overlay_stretch        = FALSE
  502.         arrow_direction        = RIGHT
  503.       }
  504.       
  505.       image
  506.       {
  507.         function        = ARROW
  508.         recolorable        = TRUE
  509.         state                   = INSENSITIVE
  510.         overlay_file        = "Images/Arrows/arrow-right-insens.png"
  511.         overlay_border        = { 0, 0, 0, 0 }
  512.         overlay_stretch        = FALSE
  513.         arrow_direction        = RIGHT
  514.       }
  515.  
  516.  
  517.     # Expander (all states)
  518.     #
  519.     # Collapsed
  520.           image
  521.      {
  522.         function        = EXPANDER
  523.         state            = NORMAL
  524.         expander_style        = COLLAPSED
  525.         file            = "Images/Expander/expander-normal-c.png"
  526.         border            = { 2, 2, 2, 2 }
  527.     }
  528.  
  529.     image
  530.      {
  531.         function        = EXPANDER
  532.         state            = PRELIGHT
  533.         expander_style        = COLLAPSED
  534.         file            = "Images/Expander/expander-prelight-c.png"
  535.         border            = { 2, 2, 2, 2 }
  536.     }
  537.  
  538.     image
  539.      {
  540.         function        = EXPANDER
  541.         state            = ACTIVE
  542.         expander_style        = COLLAPSED
  543.         file            = "Images/Expander/expander-active-c.png"
  544.         border            = { 2, 2, 2, 2 }
  545.     }
  546.  
  547.     image
  548.      {
  549.         function        = EXPANDER
  550.         state            = INSENSITIVE
  551.         expander_style        = COLLAPSED
  552.         file            = "Images/Expander/expander-insens-c.png"
  553.         border            = { 2, 2, 2, 2 }
  554.     }
  555.  
  556.     # Semi-collapsed
  557.           image
  558.      {
  559.         function        = EXPANDER
  560.         state            = NORMAL
  561.         expander_style        = SEMI_COLLAPSED
  562.         file            = "Images/Expander/expander-normal-sc.png"
  563.         border            = { 2, 2, 2, 2 }
  564.     }
  565.  
  566.     image
  567.      {
  568.         function        = EXPANDER
  569.         state            = PRELIGHT
  570.         expander_style        = SEMI_COLLAPSED
  571.         file            = "Images/Expander/expander-prelight-sc.png"
  572.         border            = { 2, 2, 2, 2 }
  573.     }
  574.  
  575.     image
  576.      {
  577.         function        = EXPANDER
  578.         state            = ACTIVE
  579.         expander_style        = SEMI_COLLAPSED
  580.         file            = "Images/Expander/expander-active-sc.png"
  581.         border            = { 2, 2, 2, 2 }
  582.     }
  583.  
  584.     #image
  585.      #{
  586.     #    function        = EXPANDER
  587.     #    state            = INSENSITIVE
  588.     #    expander_style        = SEMI_COLLAPSED
  589.     #    file            = "Images/Expander/expander-insens-sc.png"
  590.     #    border            = { 2, 2, 2, 2 }
  591.     #}
  592.  
  593.     # Semi-Expanded
  594.           image
  595.      {
  596.         function        = EXPANDER
  597.         state            = NORMAL
  598.         expander_style        = SEMI_EXPANDED
  599.         file            = "Images/Expander/expander-normal-se.png"
  600.         border            = { 2, 2, 2, 2 }
  601.     }
  602.  
  603.     image
  604.      {
  605.         function        = EXPANDER
  606.         state            = PRELIGHT
  607.         expander_style        = SEMI_EXPANDED
  608.         file            = "Images/Expander/expander-prelight-se.png"
  609.         border            = { 2, 2, 2, 2 }
  610.     }
  611.  
  612.     image
  613.      {
  614.         function        = EXPANDER
  615.         state            = ACTIVE
  616.         expander_style        = SEMI_EXPANDED
  617.         file            = "Images/Expander/expander-active-se.png"
  618.         border            = { 2, 2, 2, 2 }
  619.     }
  620.  
  621.     #image
  622.      #{
  623.     #    function        = EXPANDER
  624.     #    state            = INSENSITIVE
  625.     #    expander_style        = SEMI_EXPANDED
  626.     #    file            = "Images/Expander/expander-insens-se.png"
  627.     #    border            = { 2, 2, 2, 2 }
  628.     #}
  629.  
  630.     # Expanded
  631.           image
  632.      {
  633.         function        = EXPANDER
  634.         state            = NORMAL
  635.         expander_style        = EXPANDED
  636.         file            = "Images/Expander/expander-normal-e.png"
  637.         border            = { 2, 2, 2, 2 }
  638.     }
  639.  
  640.     image
  641.      {
  642.         function        = EXPANDER
  643.         state            = PRELIGHT
  644.         expander_style        = EXPANDED
  645.         file            = "Images/Expander/expander-prelight-e.png"
  646.         border            = { 2, 2, 2, 2 }
  647.     }
  648.  
  649.     image
  650.      {
  651.         function        = EXPANDER
  652.         state            = ACTIVE
  653.         expander_style        = EXPANDED
  654.         file            = "Images/Expander/expander-active-e.png"
  655.         border            = { 2, 2, 2, 2 }
  656.     }
  657.  
  658.     image
  659.      {
  660.         function        = EXPANDER
  661.         state            = INSENSITIVE
  662.         expander_style        = EXPANDED
  663.         file            = "Images/Expander/expander-insens-e.png"
  664.         border            = { 2, 2, 2, 2 }
  665.     }
  666.  
  667.  
  668.     # Use Images from the -Menu subfolder because in most cases the controls are embedded in lists and shadows underneath are not appropriate.
  669.     #OPTIONs themeing for widgets that are not pure optionbuttons (e.g. in lists):
  670.  
  671.     # Set the insensitive state for all shadows
  672.     image 
  673.     {
  674.             function                = OPTION
  675.             recolorable             = TRUE
  676.             state             = INSENSITIVE
  677.             shadow                 = OUT
  678.             overlay_file            = "Images/Check-Radio-Menu/opt-normal-insensitive.png"
  679.             overlay_stretch         = FALSE
  680.         }
  681.  
  682.     image 
  683.     {
  684.             function                = OPTION
  685.             recolorable             = TRUE
  686.         state             = INSENSITIVE
  687.             shadow                  = IN
  688.             overlay_file            = "Images/Check-Radio-Menu/opt-mark-insensitive.png"
  689.             overlay_stretch         = FALSE
  690.         }
  691.     image 
  692.     {
  693.             function                = OPTION
  694.             recolorable             = TRUE
  695.         state             = INSENSITIVE
  696.             shadow                  = ETCHED_IN
  697.             overlay_file            = "Images/Check-Radio-Menu/opt-line-insensitive.png"
  698.             overlay_stretch         = FALSE
  699.         }
  700.  
  701.     #Set the prelight fro all shadows
  702.     image 
  703.     {
  704.             function                = OPTION
  705.             recolorable             = TRUE
  706.             state             = PRELIGHT
  707.             shadow                  = OUT
  708.             overlay_file            = "Images/Check-Radio-Menu/opt-normal-prelight.png"
  709.             overlay_stretch         = FALSE
  710.         }
  711.     image 
  712.     {
  713.             function                = OPTION
  714.             recolorable             = TRUE
  715.         state             = PRELIGHT
  716.             shadow                  = IN
  717.             overlay_file            = "Images/Check-Radio-Menu/opt-mark-prelight.png"
  718.             overlay_stretch         = FALSE
  719.         }
  720.       image 
  721.     {
  722.             function                = OPTION
  723.             recolorable             = TRUE
  724.         state             = PRELIGHT
  725.             shadow                  = ETCHED_IN
  726.             overlay_file            = "Images/Check-Radio-Menu/opt-line-prelight.png"
  727.             overlay_stretch         = FALSE
  728.         }
  729.  
  730.     # Theme everything else the same (NORMAL, SELECTED, ACTIVE)
  731.       image 
  732.     {
  733.             function                = OPTION
  734.             recolorable            = TRUE
  735.             shadow                  = OUT
  736.             overlay_file            = "Images/Check-Radio-Menu/opt-normal.png"
  737.             overlay_stretch             = FALSE
  738.         }
  739.      image 
  740.     {
  741.             function                = OPTION
  742.             recolorable             = TRUE
  743.             shadow                  = IN
  744.             overlay_file            = "Images/Check-Radio-Menu/opt-mark.png"
  745.             overlay_stretch         = FALSE
  746.         }
  747.     image 
  748.     {
  749.             function                = OPTION
  750.             recolorable             = TRUE
  751.             shadow                  = ETCHED_IN
  752.             overlay_file            = "Images/Check-Radio-Menu/opt-line.png"
  753.             overlay_stretch         = FALSE
  754.         }
  755.  
  756.     # CHECKs themeing for widgets that are not pure checkbuttons (e.g. in lists):
  757.     # Set the insensitive state for all shadows
  758.      image 
  759.     {
  760.             function                = CHECK
  761.             recolorable             = TRUE
  762.             state             = INSENSITIVE
  763.             shadow                  = OUT
  764.             overlay_file            = "Images/Check-Radio-Menu/check-normal-insensitive.png"
  765.             overlay_stretch         = FALSE
  766.         }
  767.       image 
  768.         {
  769.             function                = CHECK
  770.         recolorable             = TRUE
  771.         state             = INSENSITIVE
  772.         shadow                  = IN
  773.         overlay_file           = "Images/Check-Radio-Menu/check-mark-insensitive.png"
  774.         overlay_stretch         = FALSE
  775.         }
  776.         image 
  777.         {
  778.             function                = CHECK
  779.         recolorable             = TRUE
  780.         state             = INSENSITIVE
  781.         shadow                  = ETCHED_IN
  782.         overlay_file           = "Images/Check-Radio-Menu/check-line-insensitive.png"
  783.         overlay_stretch         = FALSE
  784.         }
  785.     #Set the prelight fro all shadows
  786.      image 
  787.     {
  788.             function                = CHECK
  789.             recolorable             = TRUE
  790.             state             = PRELIGHT
  791.             shadow                  = OUT
  792.             overlay_file            = "Images/Check-Radio-Menu/check-normal-prelight.png"
  793.             overlay_stretch         = FALSE
  794.         }
  795.       image 
  796.     {
  797.             function                = CHECK
  798.             recolorable             = TRUE
  799.         state             = PRELIGHT
  800.             shadow                  = IN
  801.             overlay_file            = "Images/Check-Radio-Menu/check-mark-prelight.png"
  802.             overlay_stretch         = FALSE
  803.         }
  804.       image 
  805.     {
  806.             function                = CHECK
  807.             recolorable             = TRUE
  808.         state             = PRELIGHT
  809.             shadow                  = ETCHED_IN
  810.             overlay_file            = "Images/Check-Radio-Menu/check-line-prelight.png"
  811.             overlay_stretch         = FALSE
  812.         }
  813.  
  814.     # Set the rest
  815.     image 
  816.     {
  817.             function                = CHECK
  818.             recolorable             = TRUE
  819.             shadow                  = OUT
  820.             overlay_file            = "Images/Check-Radio-Menu/check-normal.png"
  821.             overlay_stretch         = FALSE
  822.         }
  823.     image 
  824.     {
  825.             function                = CHECK
  826.             recolorable             = TRUE
  827.             shadow                  = IN
  828.             overlay_file            = "Images/Check-Radio-Menu/check-mark.png"
  829.             overlay_stretch         = FALSE
  830.         }
  831.      image 
  832.     {
  833.             function                = CHECK
  834.             recolorable             = TRUE
  835.             shadow                  = ETCHED_IN
  836.             overlay_file            = "Images/Check-Radio-Menu/check-line.png"
  837.             overlay_stretch         = FALSE
  838.         }
  839.    }
  840. }
  841.  
  842.  
  843. style "newwave-wide" = "newwave-default"
  844. {
  845.     bg[SELECTED]      = @selected_bg_color
  846.     xthickness = 2
  847.     ythickness = 2
  848. }
  849.  
  850. style "newwave-wider" = "newwave-default"
  851. {
  852.     bg[SELECTED]      = @selected_bg_color
  853.     xthickness = 3
  854.     ythickness = 3
  855. }
  856.  
  857.  
  858.  
  859.  
  860. #=========================================================
  861. #=========================================================
  862. #       Pixmap widget styles
  863. #=========================================================
  864. #=========================================================
  865.  
  866.  
  867.  
  868. style "newwave-frame" = "newwave-wide"
  869. {    
  870. #  engine "pixmap"
  871. #  {
  872. #     image
  873. #    {
  874. #        function        = FLAT_BOX
  875. #        state            = NORMAL
  876. #        shadow            = OUT
  877. #        file             = "Images/Frame-Gap/frame2.png"
  878. #        stretch            = TRUE
  879. #    }
  880. #  }
  881. }
  882.  
  883. #=========================================================
  884. # Buttons
  885. #=========================================================
  886.  
  887. style "newwave-button" = "newwave-wider"
  888.  
  889.     bg[NORMAL]        = shade (0.98, @bg_color)
  890.     bg[PRELIGHT]      = shade (1.04, @bg_color)
  891.     bg[ACTIVE]        = shade (0.92, @bg_color)
  892.     
  893.     GtkButton::interior_focus = 1
  894.  
  895.     GtkWidget::focus_padding = 0
  896.     GtkButton::focus_width = 1
  897.     GtkButton::displace_focus = 1
  898.     
  899.     # Make it vertical
  900.     GtkButton::child_displacement_x = 0
  901.     GtkButton::child_displacement_y = 1
  902.     
  903.     # Increase because focus padding is zero
  904.     GtkButton::inner-border =  {2, 2, 2, 2}
  905.     
  906.     # Use to show glow around default buttons
  907.     GtkButton::default-border = { 3, 3, 3, 3}
  908.     GtkButton::default-outside-border = { 3, 3, 3, 3}
  909.  
  910.  
  911.     engine "pixmap"
  912.     {
  913.     
  914.     # Focus image
  915.     image
  916.     {
  917.         function        = FOCUS
  918.         recolorable        = TRUE
  919.         detail            = "button"
  920.         file            = "Images/Buttons/button-focus.png"
  921.         border            = {4, 4, 4, 4}
  922.         stretch            = TRUE
  923.  
  924.     }
  925.  
  926.     # Normal button
  927.     image 
  928.     {
  929.         function        = BOX
  930.         state            = NORMAL
  931.         shadow            = OUT
  932.         file            = "Images/Buttons/button-normal.png"        
  933.         border            ={ 4, 4, 4, 4 }
  934.         stretch            = TRUE
  935.     }
  936.  
  937.     #Used for default buttons glow
  938.     image 
  939.     {
  940.         function        = BOX
  941.         state            = NORMAL
  942.         detail            = "buttondefault"
  943.         file            = "Images/Buttons/button-default.png"        
  944.         border            ={ 4, 4, 4, 4 }
  945.         stretch            = TRUE
  946.     }
  947.     
  948.     # Pressed
  949.     image
  950.     {
  951.         function        = BOX
  952.         state            = ACTIVE
  953.         file            = "Images/Buttons/button-pressed.png"
  954.         border            = { 4, 4, 4, 4 }
  955.         stretch            = TRUE
  956.     }
  957.     
  958.     
  959.     
  960.     #@author:dilomo@ prelight used on toggle buttons when they are pressed in
  961.     image
  962.     {
  963.         function        = BOX
  964.         state            = PRELIGHT
  965.         recolorable        = TRUE
  966.         shadow            = IN
  967.         file            = "Images/Buttons/button-pressed-prelight.png"
  968.         border            = { 4, 4, 4, 4 }
  969.         stretch            = TRUE
  970.     }
  971.     #@author:dilomo@ prelight used on normal buttons
  972.     image
  973.     {
  974.         function        = BOX
  975.         state            = PRELIGHT
  976.         recolorable        = TRUE
  977.         shadow            = OUT
  978.         file            = "Images/Buttons/button-prelight.png"
  979.         border            = { 4, 4, 4, 4 }
  980.         stretch            = TRUE
  981.     }
  982.     
  983.     image 
  984.     {
  985.         function        = BOX
  986.         state            = INSENSITIVE
  987.         shadow            = IN
  988.         file            = "Images/Buttons/button-insensitive-in.png"    
  989.         border            = { 4, 4, 4, 4 }
  990.         stretch            = TRUE
  991.     }
  992.  
  993.     image 
  994.     {
  995.         function        = BOX
  996.         state            = INSENSITIVE
  997.         shadow            = OUT
  998.         file            = "Images/Buttons/button-insensitive.png"    
  999.         border            = { 4, 4, 4, 4 }
  1000.         stretch            = TRUE
  1001.     }
  1002.     
  1003.         
  1004.     }
  1005. }
  1006.  
  1007. #=========================================================
  1008. # Progressbar
  1009. #=========================================================
  1010. style "newwave-progressbar" = "newwave-default"
  1011. {
  1012.   xthickness                    = 1
  1013.   ythickness                    = 1
  1014.  
  1015.   engine "pixmap" 
  1016.   {
  1017.     image
  1018.     {
  1019.         function            = BOX
  1020.         detail                = "trough"
  1021.         file                = "Images/ProgressBar/trough-progressbar-horiz.png"
  1022.         border                =  { 4, 4, 4, 4 }
  1023.         stretch                = TRUE
  1024.         overlay_file                    = "Images/ProgressBar/over-trough-horiz.png"
  1025.         overlay_stretch                 = TRUE
  1026.         overlay_border            =  { 2, 2, 2, 2 }
  1027.         orientation            = HORIZONTAL
  1028.     }
  1029.     
  1030.     image
  1031.     {
  1032.         function            = BOX
  1033.         detail                = "trough"
  1034.         file                = "Images/ProgressBar/trough-progressbar-horiz.png"
  1035.         border                =  { 4, 4, 4, 4 }
  1036.         stretch                = TRUE
  1037. #        overlay_file                    = "Images/ProgressBar/over-trough-horiz.png"
  1038. #        overlay_stretch                 = TRUE
  1039. #        overlay_border            = { 2, 2, 2, 2 }
  1040.         orientation            = VERTICAL
  1041.     }
  1042.     
  1043.     image
  1044.     {
  1045.         function            = BOX
  1046.         detail                = "bar"
  1047.         file                = "Images/ProgressBar/progressbar-horiz.png"
  1048.         border                = { 2, 2, 2, 2 }
  1049.         stretch                = TRUE
  1050.         overlay_file                    = "Images/ProgressBar/over-progressbar-horiz.png"
  1051.         overlay_stretch                  = FALSE
  1052.         overlay_border            = { 2, 2, 2, 2 }
  1053.         orientation            = HORIZONTAL
  1054.     } 
  1055.     image
  1056.     {
  1057.         function            = BOX
  1058.         detail                = "bar"
  1059.         file                = "Images/ProgressBar/progressbar-vert.png"
  1060.         border                = { 2, 2, 2, 2 }
  1061.         stretch                = TRUE
  1062.         overlay_file                    = "Images/ProgressBar/over-progressbar-horiz.png"
  1063.         overlay_stretch                 = TRUE
  1064.         overlay_border            = { 2, 2, 2, 2 }
  1065.         orientation            = VERTICAL
  1066.     }
  1067.   }
  1068. }
  1069.  
  1070.  
  1071. #=========================================================
  1072. # Check/Radio Buttons
  1073. #=========================================================
  1074. style "newwave-checkradiobutton" = "newwave-default"
  1075. {
  1076.   GtkCheckButton::interior_focus = 1
  1077.     
  1078.   engine "pixmap" {
  1079.     image 
  1080.     {
  1081.     function        = FLAT_BOX
  1082.     recolorable        = TRUE
  1083.     file            = "Images/Others/null.png"
  1084.     border            = { 2, 5, 2, 2 }
  1085.     stretch            = TRUE
  1086.        }
  1087.      image 
  1088.     {
  1089.     function        = FOCUS
  1090.     recolorable        = TRUE
  1091.     file            = "Images/Check-Radio/checkfocus.png"
  1092.     border            = { 3, 3, 3, 3 }
  1093.     stretch            = TRUE
  1094.         }
  1095.     }
  1096. }
  1097.  
  1098. class "GtkRadioButton" style : highest "newwave-checkradiobutton"
  1099. class "GtkCheckButton" style : highest "newwave-checkradiobutton"
  1100.  
  1101.  
  1102. style "newwave-radiomenubutton" = "newwave-default"
  1103. {
  1104.   engine "pixmap" 
  1105.     {
  1106.       image 
  1107.     {
  1108.             function                = OPTION
  1109.             recolorable            = TRUE
  1110.             state             = NORMAL
  1111.             shadow                  = OUT
  1112.             overlay_file            = "Images/Check-Radio-Menu/opt-normal.png"
  1113.             overlay_stretch             = FALSE
  1114.         }
  1115.      image 
  1116.     {
  1117.             function                = OPTION
  1118.             recolorable             = TRUE
  1119.             state             = PRELIGHT
  1120.             shadow                  = OUT
  1121.             overlay_file            = "Images/Check-Radio-Menu/opt-normal-prelight.png"
  1122.             overlay_stretch         = FALSE
  1123.         }
  1124.      image 
  1125.     {
  1126.             function                = OPTION
  1127.             recolorable             = TRUE
  1128.             state             = ACTIVE
  1129.             shadow                  = OUT
  1130.             overlay_file            = "Images/Check-Radio-Menu/opt-normal-prelight.png"
  1131.             overlay_stretch         = FALSE
  1132.         }
  1133.      image 
  1134.     {
  1135.             function                = OPTION
  1136.             recolorable             = TRUE
  1137.             state             = INSENSITIVE
  1138.             shadow                 = OUT
  1139.             overlay_file            = "Images/Check-Radio-Menu/opt-normal-insensitive.png"
  1140.             overlay_stretch         = FALSE
  1141.         }
  1142.      image 
  1143.     {
  1144.             function                = OPTION
  1145.             recolorable             = TRUE
  1146.         state             = NORMAL
  1147.             shadow                  = IN
  1148.             overlay_file            = "Images/Check-Radio-Menu/opt-mark.png"
  1149.             overlay_stretch         = FALSE
  1150.         }
  1151.       image 
  1152.     {
  1153.             function                = OPTION
  1154.             recolorable             = TRUE
  1155.         state             = PRELIGHT
  1156.             shadow                  = IN
  1157.             overlay_file            = "Images/Check-Radio-Menu/opt-mark-prelight.png"
  1158.             overlay_stretch         = FALSE
  1159.         }
  1160.      image 
  1161.     {
  1162.             function                = OPTION
  1163.             recolorable             = TRUE
  1164.         state             = ACTIVE
  1165.             shadow                  = IN
  1166.             overlay_file            = "Images/Check-Radio-Menu/opt-mark-prelight.png"
  1167.             overlay_stretch         = FALSE
  1168.         }
  1169.      image 
  1170.     {
  1171.             function                = OPTION
  1172.             recolorable             = TRUE
  1173.         state             = INSENSITIVE
  1174.             shadow                  = IN
  1175.             overlay_file            = "Images/Check-Radio-Menu/opt-mark-insensitive.png"
  1176.             overlay_stretch         = FALSE
  1177.         }
  1178.       image 
  1179.     {
  1180.           function                = FLAT_BOX
  1181.           recolorable             = TRUE
  1182.             stretch            = TRUE
  1183.           file                    = "Images/Others/null.png"
  1184.           border                  = { 2, 2, 2, 2 }
  1185.         }
  1186.     }
  1187. }
  1188.  
  1189.  
  1190. style "newwave-radiobutton" = "newwave-default"
  1191. {
  1192.   engine "pixmap" 
  1193.     {
  1194.       image 
  1195.     {
  1196.             function                = OPTION
  1197.             recolorable            = TRUE
  1198.             state             = NORMAL
  1199.             shadow                  = OUT
  1200.             overlay_file            = "Images/Check-Radio/opt-normal.png"
  1201.             overlay_stretch             = FALSE
  1202.         }
  1203.  
  1204.      image 
  1205.     {
  1206.             function                = OPTION
  1207.             recolorable             = TRUE
  1208.             state             = PRELIGHT
  1209.             shadow                  = OUT
  1210.             overlay_file            = "Images/Check-Radio/opt-normal-prelight.png"
  1211.             overlay_stretch         = FALSE
  1212.         }
  1213.      image 
  1214.     {
  1215.             function                = OPTION
  1216.             recolorable             = TRUE
  1217.             state             = ACTIVE
  1218.             shadow                  = OUT
  1219.             overlay_file            = "Images/Check-Radio/opt-normal-active.png"
  1220.             overlay_stretch         = FALSE
  1221.         }
  1222.      image 
  1223.     {
  1224.             function                = OPTION
  1225.             recolorable             = TRUE
  1226.             state             = INSENSITIVE
  1227.             shadow                 = OUT
  1228.             overlay_file            = "Images/Check-Radio/opt-normal-insensitive.png"
  1229.             overlay_stretch         = FALSE
  1230.         }
  1231.  
  1232.      image 
  1233.     {
  1234.             function                = OPTION
  1235.             recolorable             = TRUE
  1236.         state             = NORMAL
  1237.             shadow                  = IN
  1238.             overlay_file            = "Images/Check-Radio/opt-mark.png"
  1239.             overlay_stretch         = FALSE
  1240.         }
  1241.       image 
  1242.     {
  1243.             function                = OPTION
  1244.             recolorable             = TRUE
  1245.         state             = PRELIGHT
  1246.             shadow                  = IN
  1247.             overlay_file            = "Images/Check-Radio/opt-mark-prelight.png"
  1248.             overlay_stretch         = FALSE
  1249.         }
  1250.      image 
  1251.     {
  1252.             function                = OPTION
  1253.             recolorable             = TRUE
  1254.         state             = ACTIVE
  1255.             shadow                  = IN
  1256.             overlay_file            = "Images/Check-Radio/opt-mark-active.png"
  1257.             overlay_stretch         = FALSE
  1258.         }
  1259.      image 
  1260.     {
  1261.             function                = OPTION
  1262.             recolorable             = TRUE
  1263.         state             = INSENSITIVE
  1264.             shadow                  = IN
  1265.             overlay_file            = "Images/Check-Radio/opt-mark-insensitive.png"
  1266.             overlay_stretch         = FALSE
  1267.         }
  1268.  
  1269.     image 
  1270.     {
  1271.             function                = OPTION
  1272.             recolorable             = TRUE
  1273.         state             = NORMAL
  1274.             shadow                  = ETCHED_IN
  1275.             overlay_file            = "Images/Check-Radio/opt-line.png"
  1276.             overlay_stretch         = FALSE
  1277.         }
  1278.       image 
  1279.     {
  1280.             function                = OPTION
  1281.             recolorable             = TRUE
  1282.         state             = PRELIGHT
  1283.             shadow                  = ETCHED_IN
  1284.             overlay_file            = "Images/Check-Radio/opt-line-prelight.png"
  1285.             overlay_stretch         = FALSE
  1286.         }
  1287.      image 
  1288.     {
  1289.             function                = OPTION
  1290.             recolorable             = TRUE
  1291.         state             = ACTIVE
  1292.             shadow                  =ETCHED_IN
  1293.             overlay_file            = "Images/Check-Radio/opt-line-active.png"
  1294.             overlay_stretch         = FALSE
  1295.         }
  1296.      image 
  1297.     {
  1298.             function                = OPTION
  1299.             recolorable             = TRUE
  1300.         state             = INSENSITIVE
  1301.             shadow                  = ETCHED_IN
  1302.             overlay_file            = "Images/Check-Radio/opt-line-insensitive.png"
  1303.             overlay_stretch         = FALSE
  1304.         }
  1305.  
  1306.  
  1307.  
  1308.     # Overlay image
  1309.       image 
  1310.     {
  1311.           function                = FLAT_BOX
  1312.           recolorable             = TRUE
  1313.             stretch            = TRUE
  1314.           file                    = "Images/Others/null.png"
  1315.           border                  = { 2, 2, 2, 2 }
  1316.         }
  1317.     }
  1318. }
  1319.  
  1320. style "newwave-checkmenubutton" = "newwave-default"
  1321. {
  1322.   engine "pixmap" 
  1323.     {
  1324.          image 
  1325.     {
  1326.             function                = CHECK
  1327.             recolorable             = TRUE
  1328.             state             = NORMAL
  1329.             shadow                  = OUT
  1330.             overlay_file            = "Images/Check-Radio-Menu/check-normal.png"
  1331.             overlay_stretch         = FALSE
  1332.         }
  1333.      image 
  1334.     {
  1335.             function                = CHECK
  1336.             recolorable             = TRUE
  1337.             state             = PRELIGHT
  1338.             shadow                  = OUT
  1339.             overlay_file            = "Images/Check-Radio-Menu/check-normal-prelight.png"
  1340.             overlay_stretch         = FALSE
  1341.         }
  1342.      image 
  1343.     {
  1344.             function                = CHECK
  1345.             recolorable             = TRUE
  1346.             state             = ACTIVE
  1347.             shadow                  = OUT
  1348.             overlay_file            = "Images/Check-Radio-Menu/check-normal-prelight.png"
  1349.             overlay_stretch         = FALSE
  1350.         }
  1351.      image 
  1352.     {
  1353.             function                = CHECK
  1354.             recolorable             = TRUE
  1355.             state             = INSENSITIVE
  1356.             shadow                  = OUT
  1357.             overlay_file            = "Images/Check-Radio-Menu/check-normal-insensitive.png"
  1358.             overlay_stretch         = FALSE
  1359.         }
  1360.      image 
  1361.     {
  1362.             function                = CHECK
  1363.             recolorable             = TRUE
  1364.         state             = NORMAL
  1365.             shadow                  = IN
  1366.             overlay_file            = "Images/Check-Radio-Menu/check-mark.png"
  1367.             overlay_stretch         = FALSE
  1368.         }
  1369.       image 
  1370.     {
  1371.             function                = CHECK
  1372.             recolorable             = TRUE
  1373.         state             = PRELIGHT
  1374.             shadow                  = IN
  1375.             overlay_file            = "Images/Check-Radio-Menu/check-mark-prelight.png"
  1376.             overlay_stretch         = FALSE
  1377.         }
  1378.      image 
  1379.     {
  1380.             function                = CHECK
  1381.             recolorable             = TRUE
  1382.         state             = ACTIVE
  1383.             shadow                  = IN
  1384.             overlay_file            = "Images/Check-Radio-Menu/check-mark-prelight.png"
  1385.             overlay_stretch         = FALSE
  1386.         }
  1387.         image 
  1388.         {
  1389.             function                = CHECK
  1390.         recolorable             = TRUE
  1391.         state             = INSENSITIVE
  1392.         shadow                  = IN
  1393.         overlay_file           = "Images/Check-Radio-Menu/check-mark-insensitive.png"
  1394.         overlay_stretch         = FALSE
  1395.         }
  1396.         
  1397.         image 
  1398.         {
  1399.                function                = FLAT_BOX
  1400.                recolorable             = TRUE
  1401.                stretch            = TRUE
  1402.                file                    = "Images/Others/null.png"
  1403.                border                  = { 2, 2, 3, 2 }
  1404.         }
  1405.  
  1406.     }
  1407. }
  1408.  
  1409. style "newwave-checkbutton" = "newwave-default"
  1410. {
  1411.     
  1412.  
  1413.   engine "pixmap" 
  1414.     {
  1415.      image 
  1416.     {
  1417.             function                = CHECK
  1418.             recolorable             = TRUE
  1419.             state             = NORMAL
  1420.             shadow                  = OUT
  1421.             overlay_file            = "Images/Check-Radio/check-normal.png"
  1422.             overlay_stretch         = FALSE
  1423.         }
  1424.      image 
  1425.     {
  1426.             function                = CHECK
  1427.             recolorable             = TRUE
  1428.             state             = PRELIGHT
  1429.             shadow                  = OUT
  1430.             overlay_file            = "Images/Check-Radio/check-normal-prelight.png"
  1431.             overlay_stretch         = FALSE
  1432.         }
  1433.      image 
  1434.     {
  1435.             function                = CHECK
  1436.             recolorable             = TRUE
  1437.             state             = ACTIVE
  1438.             shadow                  = OUT
  1439.             overlay_file            = "Images/Check-Radio/check-normal-active.png"
  1440.             overlay_stretch         = FALSE
  1441.         }
  1442.      image 
  1443.     {
  1444.             function                = CHECK
  1445.             recolorable             = TRUE
  1446.             state             = INSENSITIVE
  1447.             shadow                  = OUT
  1448.             overlay_file            = "Images/Check-Radio/check-normal-insensitive.png"
  1449.             overlay_stretch         = FALSE
  1450.         }
  1451.  
  1452.  
  1453.      image 
  1454.     {
  1455.             function                = CHECK
  1456.             recolorable             = TRUE
  1457.         state             = NORMAL
  1458.             shadow                  = IN
  1459.             overlay_file            = "Images/Check-Radio/check-mark.png"
  1460.             overlay_stretch         = FALSE
  1461.         }
  1462.       image 
  1463.     {
  1464.             function                = CHECK
  1465.             recolorable             = TRUE
  1466.         state             = PRELIGHT
  1467.             shadow                  = IN
  1468.             overlay_file            = "Images/Check-Radio/check-mark-prelight.png"
  1469.             overlay_stretch         = FALSE
  1470.         }
  1471.      image 
  1472.     {
  1473.             function                = CHECK
  1474.             recolorable             = TRUE
  1475.         state             = ACTIVE
  1476.             shadow                  = IN
  1477.             overlay_file            = "Images/Check-Radio/check-mark-active.png"
  1478.             overlay_stretch         = FALSE
  1479.         }
  1480.         image 
  1481.         {
  1482.             function                = CHECK
  1483.         recolorable             = TRUE
  1484.         state             = INSENSITIVE
  1485.         shadow                  = IN
  1486.         overlay_file           = "Images/Check-Radio/check-mark-insensitive.png"
  1487.         overlay_stretch         = FALSE
  1488.         }
  1489.  
  1490.      image 
  1491.     {
  1492.             function                = CHECK
  1493.             recolorable             = TRUE
  1494.         state             = NORMAL
  1495.             shadow                  = ETCHED_IN
  1496.             overlay_file            = "Images/Check-Radio/check-line.png"
  1497.             overlay_stretch         = FALSE
  1498.         }
  1499.       image 
  1500.     {
  1501.             function                = CHECK
  1502.             recolorable             = TRUE
  1503.         state             = PRELIGHT
  1504.             shadow                  = ETCHED_IN
  1505.             overlay_file            = "Images/Check-Radio/check-line-prelight.png"
  1506.             overlay_stretch         = FALSE
  1507.         }
  1508.      image 
  1509.     {
  1510.             function                = CHECK
  1511.             recolorable             = TRUE
  1512.         state             = ACTIVE
  1513.             shadow                  = ETCHED_IN
  1514.             overlay_file            = "Images/Check-Radio/check-line-active.png"
  1515.             overlay_stretch         = FALSE
  1516.         }
  1517.         image 
  1518.         {
  1519.             function                = CHECK
  1520.         recolorable             = TRUE
  1521.         state             = INSENSITIVE
  1522.         shadow                  = ETCHED_IN
  1523.         overlay_file           = "Images/Check-Radio/check-line-insensitive.png"
  1524.         overlay_stretch         = FALSE
  1525.         }
  1526.         
  1527.     # This is the overlay image
  1528.         image 
  1529.         {
  1530.                function                = FLAT_BOX
  1531.                recolorable             = TRUE
  1532.                stretch            = TRUE
  1533.                file                    = "Images/Others/null.png"
  1534.                border                  = { 2, 2, 3, 2 }
  1535.         }
  1536.   }
  1537. }
  1538.  
  1539. #=========================================================
  1540. # Scrollbars
  1541. #=========================================================
  1542.  
  1543. style "newwave-scrollbar" = "newwave-default"
  1544. {
  1545.   
  1546.         engine "pixmap" 
  1547.         {
  1548.         
  1549.         # Sliders background
  1550.         #=============================
  1551.         image 
  1552.         {
  1553.                 function        = BOX
  1554.                 recolorable        = TRUE
  1555.                 detail            = "trough"
  1556.                 file            = "Images/Scrollbars/trough-scrollbar-horiz.png"
  1557.                 border            = { 3, 3, 2, 2 }
  1558.                 stretch            = TRUE
  1559.                 orientation        = HORIZONTAL
  1560.         }
  1561.         image 
  1562.         {
  1563.                 function        = BOX
  1564.                 recolorable        = TRUE
  1565.                 detail            = "trough"
  1566.                 file            = "Images/Scrollbars/trough-scrollbar-vert.png"
  1567.                 border            = { 2, 2, 3, 3}
  1568.                 stretch            = TRUE
  1569.                 orientation        = VERTICAL
  1570.         }
  1571.  
  1572.         # Sliders - horizonral
  1573.         #=============================
  1574.         image 
  1575.         {
  1576.                 function            = SLIDER
  1577.                 recolorable            = TRUE
  1578.                 state                   = NORMAL
  1579.                 detail                          = "slider"
  1580.                 file                = "Images/Scrollbars/slider-horiz.png" 
  1581.                 border                = { 5, 5, 5, 5 }
  1582.                 stretch                = TRUE
  1583.                 orientation            = HORIZONTAL
  1584.         }
  1585.         image 
  1586.         {
  1587.                 function            = SLIDER
  1588.                 recolorable            = TRUE
  1589.                 state                       = ACTIVE
  1590.                 detail                          = "slider"
  1591.                 shadow                = IN
  1592.                 file                = "Images/Scrollbars/slider-horiz-active.png" 
  1593.                 border                = { 5, 5, 5, 5 }
  1594.                 stretch                = TRUE
  1595.                 orientation            = HORIZONTAL
  1596.         }
  1597.         image 
  1598.         {
  1599.                 function            = SLIDER
  1600.                 recolorable            = TRUE
  1601.                 state                   = PRELIGHT
  1602.                 detail                          = "slider"
  1603.                 file                = "Images/Scrollbars/slider-horiz-prelight.png" 
  1604.                 border                = { 5, 5, 5, 5 }
  1605.                 stretch                = TRUE
  1606.                 orientation            = HORIZONTAL
  1607.         }
  1608.         image 
  1609.         {
  1610.                 function            = SLIDER
  1611.                 recolorable            = TRUE
  1612.                 state                   = INSENSITIVE
  1613.                 detail                          = "slider"
  1614.                 file                = "Images/Scrollbars/slider-horiz-insens.png"
  1615.                 border                = { 5, 5, 5, 5 }
  1616.                 stretch                = TRUE
  1617.                 orientation            = HORIZONTAL
  1618.         }
  1619.  
  1620.         # Sliders - vertical
  1621.         #=============================
  1622.         image 
  1623.         {
  1624.                 function            = SLIDER
  1625.                 recolorable            = TRUE
  1626.                 state                   = NORMAL
  1627.                 detail                          = "slider"
  1628.                 file                = "Images/Scrollbars/slider-vert.png" 
  1629.                 border                = { 5, 5, 5, 5 }
  1630.                 stretch                = TRUE
  1631.                 orientation            = VERTICAL
  1632.         }
  1633.         image 
  1634.         {
  1635.                 function            = SLIDER
  1636.                 recolorable            = TRUE
  1637.                 state                   = ACTIVE
  1638.                 detail                          = "slider"
  1639.                 shadow                          = IN
  1640.                 file                = "Images/Scrollbars/slider-vert-active.png" 
  1641.                 border                = { 5, 5, 5, 5 }
  1642.                 stretch                = TRUE
  1643.                # overlay_file            = "Images/Scrollbars/slider-vert-active-over.png" 
  1644.                # overlay_border            = { 2, 3, 2, 2 }
  1645.                # overlay_stretch        = FALSE
  1646.                 orientation            = VERTICAL
  1647.         }
  1648.         image 
  1649.         {
  1650.                 function            = SLIDER
  1651.                 recolorable            = TRUE
  1652.                 state                   = PRELIGHT
  1653.                 detail                          = "slider"
  1654.                 file                = "Images/Scrollbars/slider-vert-prelight.png" 
  1655.                 border                = { 5, 5, 5, 5 }
  1656.                 stretch                = TRUE
  1657.                 orientation            = VERTICAL
  1658.  
  1659.         }
  1660.         image 
  1661.         {
  1662.                 function            = SLIDER
  1663.                 recolorable            = TRUE
  1664.                 state                   = INSENSITIVE
  1665.                 detail                          = "slider"
  1666.                 file                = "Images/Scrollbars/slider-vert-insens.png"
  1667.                 border                = { 5, 5, 5, 5 }
  1668.                 stretch                = TRUE
  1669.                 orientation            = VERTICAL
  1670.  
  1671.         }
  1672.  
  1673.         # Steppers - up
  1674.         #=============================
  1675.         image 
  1676.         {
  1677.                 function            = STEPPER
  1678.                 recolorable            = TRUE
  1679.                 state                = NORMAL
  1680.                 file                = "Images/Scrollbars/stepper-up.png"
  1681.                 border                = { 5, 5, 5, 5 }
  1682.                 stretch                = TRUE
  1683.                 arrow_direction                    = UP
  1684.         }
  1685.         image 
  1686.         {
  1687.                 function            = STEPPER
  1688.                 recolorable            = TRUE
  1689.                 state                = PRELIGHT
  1690.                 file                = "Images/Scrollbars/stepper-up-prelight.png"
  1691.                 border                = { 5, 5, 5, 5 }
  1692.                 stretch                = TRUE
  1693.                 arrow_direction                    = UP
  1694.         }
  1695.         image 
  1696.         {
  1697.                 function            = STEPPER
  1698.                 recolorable            = TRUE
  1699.                 state                = ACTIVE
  1700.                 file                = "Images/Scrollbars/stepper-up-active.png"
  1701.                 border                = { 5, 5, 5, 5 }
  1702.                 stretch                = TRUE
  1703.                 arrow_direction                    = UP
  1704.         }
  1705.         image 
  1706.         {
  1707.                 function            = STEPPER
  1708.                 recolorable            = TRUE
  1709.                 state                = INSENSITIVE
  1710.                 file                = "Images/Scrollbars/stepper-up-insens.png"
  1711.                 stretch                = TRUE
  1712.                 arrow_direction             = UP
  1713.         }
  1714.  
  1715.        
  1716.         # Steppers - down
  1717.         #=============================
  1718.         image 
  1719.         {
  1720.                 function            = STEPPER
  1721.                 recolorable            = TRUE
  1722.                 state                = NORMAL
  1723.                 file                = "Images/Scrollbars/stepper-down.png"
  1724.                 border                = { 5, 5, 5, 5 }
  1725.                 stretch                = TRUE
  1726.                 arrow_direction                    = DOWN
  1727.         }
  1728.         image 
  1729.         {
  1730.                 function            = STEPPER
  1731.                 recolorable            = TRUE
  1732.                 state                = PRELIGHT
  1733.                 file                = "Images/Scrollbars/stepper-down-prelight.png"
  1734.                 border                = { 5, 5, 5, 5 }
  1735.                 stretch                = TRUE
  1736.                 arrow_direction                    = DOWN
  1737.         }
  1738.         image 
  1739.         {
  1740.                 function            = STEPPER
  1741.                 recolorable            = TRUE
  1742.                 state                = ACTIVE
  1743.                 file                = "Images/Scrollbars/stepper-down-active.png"
  1744.                 border                = { 5, 5, 5, 5 }
  1745.                 stretch                = TRUE
  1746.                 arrow_direction                    = DOWN
  1747.         }
  1748.         image 
  1749.         {
  1750.                 function            = STEPPER
  1751.                 recolorable            = TRUE
  1752.                 state                = INSENSITIVE
  1753.                 file                = "Images/Scrollbars/stepper-down-insens.png"
  1754.                 stretch                = TRUE
  1755.                 arrow_direction                    = DOWN
  1756.         }
  1757.  
  1758.        
  1759.         # Steppers - right
  1760.         #=============================
  1761.         image 
  1762.         {
  1763.                 function            = STEPPER
  1764.                 recolorable            = TRUE
  1765.                 state                = NORMAL
  1766.                 file                = "Images/Scrollbars/stepper-right.png"
  1767.                 border                = { 5, 5, 5, 5 }
  1768.                 stretch                = TRUE
  1769.                 arrow_direction                    = RIGHT
  1770.         }
  1771.         image 
  1772.         {
  1773.                 function            = STEPPER
  1774.                 recolorable            = TRUE
  1775.                 state                = PRELIGHT
  1776.                 file                = "Images/Scrollbars/stepper-right-prelight.png"
  1777.                 border                = { 5, 5, 5, 5 }
  1778.                 stretch                = TRUE
  1779.                 arrow_direction                    = RIGHT
  1780.         }
  1781.         image 
  1782.         {
  1783.                 function            = STEPPER
  1784.                 recolorable            = TRUE
  1785.                 state                = ACTIVE
  1786.                 file                = "Images/Scrollbars/stepper-right-active.png"
  1787.                 border                = { 5, 5, 5, 5 }
  1788.                 stretch                = TRUE
  1789.                 arrow_direction                    = RIGHT
  1790.         }
  1791.         image 
  1792.         {
  1793.                 function            = STEPPER
  1794.                 recolorable            = TRUE
  1795.                 state                = INSENSITIVE
  1796.                 file                = "Images/Scrollbars/stepper-right-insens.png"
  1797.                 stretch                = TRUE
  1798.                 arrow_direction                    = RIGHT
  1799.         }
  1800.  
  1801.         
  1802.         # Steppers - left
  1803.         #=============================
  1804.         image 
  1805.         {
  1806.                 function            = STEPPER
  1807.                 recolorable            = TRUE
  1808.                 state                = NORMAL
  1809.                 file                = "Images/Scrollbars/stepper-left.png"
  1810.                 border                = { 5, 5, 5, 5 }
  1811.                 stretch                = TRUE
  1812.                 arrow_direction                    = LEFT
  1813.         }
  1814.         image 
  1815.         {
  1816.                 function            = STEPPER
  1817.                 recolorable            = TRUE
  1818.                 state                = PRELIGHT
  1819.                 file                = "Images/Scrollbars/stepper-left-prelight.png"
  1820.                 border                = { 5, 5, 5, 5 }
  1821.                 stretch                = TRUE
  1822.                 arrow_direction                    = LEFT
  1823.         }
  1824.         image 
  1825.         {
  1826.                 function            = STEPPER
  1827.                 recolorable            = TRUE
  1828.                 state                = ACTIVE
  1829.                 file                = "Images/Scrollbars/stepper-left-active.png"
  1830.                 border                = { 5, 5, 5, 5 }
  1831.                 stretch                = TRUE
  1832.                 arrow_direction                    = LEFT
  1833.         }
  1834.         image 
  1835.         {
  1836.                 function            = STEPPER
  1837.                 recolorable            = TRUE
  1838.                 state                = INSENSITIVE
  1839.                 file                = "Images/Scrollbars/stepper-left-insens.png"
  1840.                 stretch                = TRUE
  1841.                 arrow_direction                    = LEFT
  1842.         }
  1843.         }
  1844. }
  1845.  
  1846.  
  1847. style "newwave-scrolledwindow" = "newwave-default"
  1848. {
  1849.     GtkScrolledWindow ::scrollbars-within-bevel = 0 
  1850.     GtkScrolledWindow ::scrollbar-spacing = 0
  1851.     
  1852.     base[NORMAL] = "#ffffff"
  1853.     bg[NORMAL] = "#ffffff"
  1854.     
  1855.     engine "pixmap"
  1856.     {
  1857.          
  1858.       image
  1859.           {
  1860.                 function = SHADOW
  1861.         state = INSENSITIVE
  1862.                 file = "Images/Scrollbars/shadow-in-insens.png"
  1863.                 border = {3, 3, 3, 3}
  1864.                 detail = "scrolled_window"
  1865.           }
  1866.  
  1867.           image
  1868.           {
  1869.                 function = SHADOW
  1870.                 file ="Images/Scrollbars/shadow-in.png"
  1871.                 border = {3, 3, 3, 3}
  1872.                 detail = "scrolled_window"
  1873.           }
  1874.     }
  1875.     
  1876. }
  1877.  
  1878. class "GtkScrolledWindow" style "newwave-scrolledwindow"
  1879.  
  1880.  
  1881. #=========================================================
  1882. # Toolbar
  1883. #=========================================================
  1884. style "newwave-toolbar"
  1885. {
  1886.         xthickness                        = 2
  1887.         ythickness                        = 3
  1888.   
  1889.     engine "pixmap"
  1890.     {
  1891.  
  1892.         image
  1893.         {
  1894.             function    = BOX
  1895.             state           = INSENSITIVE
  1896.             file        = "Images/Toolbar/toolbar-insens.png" 
  1897.             border        = { 1, 1, 2, 2}
  1898.             stretch        = TRUE
  1899.             }
  1900.  
  1901.         image
  1902.         {
  1903.             function    = BOX
  1904.             file        = "Images/Toolbar/toolbar.png" 
  1905.             border        = { 1, 1, 2, 2}
  1906.             stretch        = TRUE
  1907.             }
  1908.      }
  1909. }
  1910. style "newwave-toolbar-handle"
  1911. {
  1912.         xthickness                        = 1
  1913.         ythickness                        = 3
  1914.   
  1915.     engine "pixmap"
  1916.     {
  1917.         image
  1918.         {
  1919.             function    = BOX
  1920.             file        = "Images/Toolbar/toolbar-handle.png" 
  1921.             border        = { 1, 1, 2, 2}
  1922.             stretch        = TRUE
  1923.             }
  1924.      }
  1925. }
  1926.  
  1927. style "newwave-toolbar-noimage"
  1928. {
  1929.         xthickness                        = 2
  1930.         ythickness                        = 3
  1931.  
  1932.     engine "pixmap"
  1933.     {
  1934.         image
  1935.         {
  1936.             function    = BOX
  1937.             state        = NORMAL
  1938.             file        = "Images/Others/null.png" 
  1939.             border        = { 1, 1, 4, 4}
  1940.             stretch        = TRUE
  1941.             }
  1942.         image
  1943.         {
  1944.             function    = BOX
  1945.             state        = INSENSITIVE
  1946.             file        = "Images/Others/null.png" 
  1947.             border        = { 1, 1, 4, 4}
  1948.             stretch        = TRUE
  1949.             }
  1950.      }
  1951. }
  1952.  
  1953. #Not working for eclipse
  1954. style "newwave-toolbar-noimage-small"
  1955. {
  1956.         xthickness                        = 2
  1957.         ythickness                        = 2
  1958.  
  1959.     engine "pixmap"
  1960.     {
  1961.         image
  1962.         {
  1963.             function    = BOX
  1964.             state        = NORMAL
  1965.             file        = "Images/Others/null.png" 
  1966.             border        = { 1, 1, 4, 4}
  1967.             stretch        = TRUE
  1968.             }
  1969.         image
  1970.         {
  1971.             function    = BOX
  1972.             state        = INSENSITIVE
  1973.             file        = "Images/Others/null.png" 
  1974.             border        = { 1, 1, 4, 4}
  1975.             stretch        = TRUE
  1976.             }
  1977.      }
  1978. }
  1979.     
  1980.  
  1981. widget_class "*BonoboDockItem" style "newwave-toolbar"
  1982. class "*BonoboDockItem" style "newwave-toolbar"
  1983.  
  1984. widget_class "*HandleBox" style "newwave-toolbar" #-handle"
  1985. class "*HandleBox" style"newwave-toolbar" #-handle"
  1986.  
  1987. widget_class "*Toolbar" style "newwave-toolbar"
  1988. class "*Toolbar" style "newwave-toolbar"
  1989.  
  1990. #Remove images in Rythmbox toolbars besides the search textbox
  1991. widget "*RBSourceHeader*"    style:highest "newwave-toolbar-noimage"
  1992. widget "*HeaderToolbar*"    style:highest "newwave-toolbar-noimage"
  1993. widget "*FooterToolbar*"    style:highest "newwave-toolbar-noimage"
  1994. #Fix eclipse toolbars and make them smaller
  1995. widget "*swt*toolbar*"         style:highest "newwave-toolbar-noimage-small"
  1996.  
  1997.  
  1998. #=========================================================
  1999. # Toolbar buttons (not currently used)
  2000. #=========================================================
  2001.  
  2002.  
  2003. style "newwave-toolbuttons" = "newwave-button"
  2004. {
  2005. engine "pixmap" {
  2006.       
  2007.  
  2008.     image
  2009.     {
  2010.         function        = FOCUS
  2011.         recolorable        = TRUE
  2012.         detail            = "button"
  2013.         file            = "Images/Toolbar/toolbutton-focus.png"
  2014.         border            = {4, 4, 4, 4}
  2015.         stretch            = TRUE
  2016.  
  2017.     }
  2018. }
  2019. }
  2020.  
  2021. style "newwave-toolbuttons-old" = "newwave-wide"
  2022. {  
  2023.      xthickness                        = 3
  2024.         ythickness                        = 0
  2025.  
  2026.      # GtkWidget::focus_padding             = 2
  2027.  
  2028.     GtkButton::interior_focus = TRUE
  2029.  
  2030.     GtkWidget::focus_padding = 0
  2031.     GtkButton::focus_width = 1
  2032.     GtkButton::displace_focus = TRUE
  2033.     
  2034.     # The default is ok
  2035.     GtkButton::child_displacement_x = 0
  2036.     GtkButton::child_displacement_y = 1
  2037.     
  2038.     # Increase because focus padding is zero
  2039.     GtkButton::inner-border =  {2, 2, 2, 2}
  2040.     # Use to show glow around default buttons
  2041.     GtkButton::default-border = { 3, 3, 3, 3}
  2042.     GtkButton::default-outside-border = { 3, 3, 3, 3}
  2043.  
  2044.     engine "pixmap" {
  2045.       
  2046.  
  2047.         image
  2048.     {
  2049.         function        = FOCUS
  2050.         recolorable        = TRUE
  2051.         detail            = "button"
  2052.         file            = "Images/Toolbar/toolbutton-focus.png"
  2053.         border            = {4, 4, 4, 4}
  2054.         stretch            = TRUE
  2055.  
  2056.     }
  2057.  
  2058.         image
  2059.         {
  2060.             function                = BOX
  2061.             recolorable             = TRUE
  2062.             state                = NORMAL
  2063.             file                    = "Images/Toolbar/toolbutton-normal.png"
  2064.             border                  = { 4, 4, 4, 4 }
  2065.             stretch                 = TRUE
  2066.         }
  2067.         image
  2068.         {
  2069.             function                = BOX
  2070.             recolorable             = TRUE
  2071.             state                = PRELIGHT
  2072.             shadow                          = OUT
  2073.             file                    = "Images/Toolbar/toolbutton-prelight.png"
  2074.             border                  = { 4, 4, 4, 4 }
  2075.             stretch                 = TRUE
  2076.         }
  2077.         image
  2078.         {
  2079.             function                = BOX
  2080.             recolorable             = TRUE
  2081.             state                = PRELIGHT
  2082.             shadow                          = IN
  2083.             file                    = "Images/Toolbar/toolbutton-pressed-prelight.png"
  2084.             border                  = { 4, 4, 4, 4 }
  2085.             stretch                 = TRUE
  2086.         }
  2087.         image
  2088.         {
  2089.             function                = BOX
  2090.             recolorable             = TRUE
  2091.             state                = ACTIVE
  2092.             file                     = "Images/Toolbar/toolbutton-pressed.png"
  2093.             border                  = { 4, 4, 4, 4 }
  2094.             stretch                 = TRUE
  2095.         }  
  2096.         image
  2097.         {
  2098.             function                = BOX
  2099.             recolorable             = TRUE
  2100.             shadow                          = OUT
  2101.             state                = INSENSITIVE
  2102.             file                    = "Images/Toolbar/toolbutton-insensitive.png"
  2103.             border                  = { 4, 4, 4, 4 }
  2104.             stretch                 = TRUE
  2105.         }  
  2106.         image
  2107.         {
  2108.             function                = BOX
  2109.             recolorable             = TRUE
  2110.             shadow                          = IN
  2111.             state                = INSENSITIVE
  2112.             file                    = "Images/Toolbar/toolbutton-pressed-insensitive.png"
  2113.             border                  ={ 4, 4, 4, 4 }
  2114.             stretch                 = TRUE
  2115.         }  
  2116.     }
  2117. }
  2118.  
  2119. #=========================================================
  2120. # Toolbar focus button image 
  2121. #=========================================================
  2122.  
  2123.  
  2124.  
  2125.  
  2126. #=========================================================
  2127. # Range
  2128. #=========================================================
  2129.  
  2130. style "newwave-range" = "newwave-wide"
  2131. {    
  2132.         engine "pixmap" 
  2133.         {
  2134.         
  2135.         # Range - background
  2136.         #=============================
  2137.         image 
  2138.         {
  2139.                 function        = BOX
  2140.                 file            = "Images/Range/trough-horizontal.png"
  2141.                 border            = { 6, 6, 7, 7 }
  2142.                 stretch            = TRUE
  2143.                 orientation        = HORIZONTAL
  2144.         }        
  2145.     
  2146.             image 
  2147.            {
  2148.               function            = FOCUS
  2149.               file            = "Images/Range/trough-horizontal-focus.png"
  2150.               detail             = "trough"
  2151.               border            = {5, 5, 7, 6}
  2152.               stretch            = TRUE
  2153.               orientation        = HORIZONTAL
  2154.            }    
  2155.         image 
  2156.         {
  2157.                 function        = BOX
  2158.                 file            = "Images/Range/trough-vertical.png"
  2159.                 border            = { 7,7, 6, 6 }
  2160.                 stretch            = TRUE
  2161.                 orientation        = VERTICAL
  2162.         }
  2163.             image 
  2164.             {
  2165.               function            = FOCUS
  2166.               detail             = "trough"
  2167.               file            = "Images/Range/trough-vertical-focus.png"
  2168.               border            = {7, 7, 5, 5}
  2169.               stretch            = TRUE
  2170.               orientation        = VERTICAL
  2171.             }
  2172.  
  2173.  
  2174.         # Range - horizonral
  2175.         #=============================
  2176.         image 
  2177.         {
  2178.                 function        = SLIDER
  2179.                 recolorable        = TRUE
  2180.                 state               = NORMAL
  2181.                 file            = "Images/Range/null.png"
  2182.                 border            = { 0, 0, 0, 0}
  2183.                 stretch            = TRUE
  2184.                 overlay_file        = "Images/Range/slider-horiz.png"
  2185.                 overlay_stretch        = FALSE
  2186.                 orientation        = HORIZONTAL
  2187.  
  2188.         }
  2189.         image 
  2190.         {
  2191.                 function        = SLIDER
  2192.                 recolorable        = TRUE
  2193.                 state               = PRELIGHT
  2194.                 file            = "Images/Range/null.png"
  2195.                 border            = { 0, 0, 0, 0 }
  2196.                 stretch            = TRUE
  2197.                 overlay_file        = "Images/Range/slider-horiz-prelight.png"
  2198.                 overlay_stretch        = FALSE
  2199.                 orientation        = HORIZONTAL
  2200.         }
  2201.         image 
  2202.         {
  2203.                 function        = SLIDER
  2204.                 recolorable        = TRUE
  2205.                 state               = ACTIVE
  2206.                 file            = "Images/Range/null.png"
  2207.                 border            = { 0, 0, 0, 0 }
  2208.                 stretch            = TRUE
  2209.                 overlay_file        = "Images/Range/slider-horiz-active.png"
  2210.                 overlay_stretch        = FALSE
  2211.                 orientation        = HORIZONTAL
  2212.         }
  2213.         image 
  2214.         {
  2215.                 function        = SLIDER
  2216.                 recolorable        = TRUE
  2217.                 state               = INSENSITIVE
  2218.                 file            = "Images/Range/null.png"
  2219.                 border            = { 0, 0, 0, 0 }
  2220.                 stretch            = TRUE
  2221.                 overlay_file        = "Images/Range/slider-horiz-insens.png"
  2222.                 overlay_stretch        = FALSE
  2223.                 orientation        = HORIZONTAL
  2224.         }
  2225.  
  2226.  
  2227.         # Range - vertical
  2228.         #=============================
  2229.         image 
  2230.         {
  2231.                 function            = SLIDER
  2232.                 recolorable            = TRUE
  2233.                 state                   = NORMAL
  2234.                 file                = "Images/Range/null.png"
  2235.                 border                = { 0, 0, 0, 0 }
  2236.                 stretch                = TRUE
  2237.                 overlay_file            = "Images/Range/slider-vert.png"
  2238.                 overlay_stretch            = FALSE
  2239.                 orientation            = VERTICAL
  2240.         }
  2241.         image 
  2242.         {
  2243.                 function            = SLIDER
  2244.                 recolorable            = TRUE
  2245.                 state                   = PRELIGHT
  2246.                 file                = "Images/Range/null.png"
  2247.                 border                = { 0, 0, 0, 0 }
  2248.                 stretch                = TRUE
  2249.                 overlay_file            = "Images/Range/slider-vert-prelight.png"
  2250.                 overlay_stretch            = FALSE
  2251.                 orientation            = VERTICAL
  2252.         }
  2253.         image 
  2254.         {
  2255.                 function            = SLIDER
  2256.                 recolorable            = TRUE
  2257.                 state                   = ACTIVE
  2258.                 file                = "Images/Range/null.png"
  2259.                 border                = { 0, 0, 0, 0 }
  2260.                 stretch                = TRUE
  2261.                 overlay_file            = "Images/Range/slider-vert-active.png"
  2262.                 overlay_stretch            = FALSE
  2263.                 orientation            = VERTICAL
  2264.         }
  2265.         image 
  2266.         {
  2267.                 function            = SLIDER
  2268.                 recolorable            = TRUE
  2269.                 state                   = INSENSITIVE
  2270.                 file                = "Images/Range/null.png"
  2271.                 border                = { 0, 0, 0, 0 }
  2272.                 stretch                = TRUE
  2273.                 overlay_file            = "Images/Range/slider-vert-insens.png"
  2274.                 overlay_stretch            = FALSE
  2275.                 orientation            = VERTICAL
  2276.         }
  2277.         }
  2278. }
  2279.  
  2280.  
  2281. #=========================================================
  2282. # Spinbutton
  2283. #=========================================================
  2284. style "newwave-spinbutton" = "newwave-wider"
  2285. {
  2286.  
  2287.  GtkSpinButton::page-size             = 0
  2288.  GtkWidget::interior_focus            = 0
  2289.  GtkWidget::internal-padding             = 4
  2290.   
  2291.   engine "pixmap"
  2292.   {
  2293.  
  2294.     #@author:dilomo@ This is very important. Do not remove!
  2295.     image
  2296.     {
  2297.         function    = ARROW
  2298.     }
  2299.     
  2300.     # Spin - up
  2301.     #=============================
  2302.     image
  2303.     {
  2304.       function            = BOX
  2305.       state             = NORMAL
  2306.       detail            = "spinbutton_up"
  2307.       recolorable        = TRUE
  2308.       file            = "Images/Spin/spin-up-bg.png"
  2309.       border            = { 2, 2, 2, 2}
  2310.       stretch            = TRUE
  2311.       overlay_file        = "Images/Spin/arrow-up.png"
  2312.       overlay_stretch        = FALSE
  2313.     }
  2314.     image
  2315.     {
  2316.       function            = BOX
  2317.       state             = PRELIGHT
  2318.       detail            = "spinbutton_up"
  2319.       recolorable        = TRUE
  2320.       file            = "Images/Spin/spin-up-bg-prelight.png"
  2321.       border            = { 2, 2, 2, 2}
  2322.       stretch            = TRUE
  2323.       overlay_file        = "Images/Spin/arrow-up-prelight.png"
  2324.       overlay_stretch        = FALSE
  2325.     }
  2326.     image
  2327.     {
  2328.       function            = BOX
  2329.       state             = INSENSITIVE
  2330.       detail            = "spinbutton_up"
  2331.       recolorable        = TRUE
  2332.       file            = "Images/Spin/spin-up-bg.png"
  2333.       border            = { 2, 2, 2, 2}
  2334.       stretch            = TRUE
  2335.       overlay_file        = "Images/Spin/arrow-up-disable.png"
  2336.       overlay_stretch        = FALSE
  2337.     }
  2338.     image
  2339.     {
  2340.       function            = BOX
  2341.       state             = ACTIVE
  2342.       detail            = "spinbutton_up"
  2343.       recolorable        = TRUE
  2344.       file            = "Images/Spin/spin-up-bg-active.png"
  2345.       border            = { 2, 2, 2, 2}
  2346.       stretch            = TRUE
  2347.       overlay_file        = "Images/Spin/arrow-up-active.png"
  2348.       overlay_stretch        = FALSE
  2349.     }
  2350.  
  2351.     # Spin - down
  2352.     #=============================
  2353.     image
  2354.     {
  2355.       function            = BOX
  2356.       state             = NORMAL
  2357.       detail            = "spinbutton_down"
  2358.       recolorable        = TRUE
  2359.       file            = "Images/Spin/spin-down-bg.png"
  2360.       border            = { 2, 2, 2, 2}
  2361.       stretch            = TRUE
  2362.       overlay_file        = "Images/Spin/arrow-down.png"
  2363.       overlay_stretch        = FALSE
  2364.     }
  2365.     image
  2366.     {
  2367.       function            = BOX
  2368.       state             = PRELIGHT
  2369.       detail            = "spinbutton_down"
  2370.       recolorable        = TRUE
  2371.       file            = "Images/Spin/spin-down-bg-prelight.png"
  2372.       border            = { 2, 2, 2, 2}
  2373.       stretch            = TRUE
  2374.       overlay_file        = "Images/Spin/arrow-down-prelight.png"
  2375.       overlay_stretch        = FALSE
  2376.     }
  2377.     image
  2378.     {
  2379.       function            = BOX
  2380.       state             = INSENSITIVE
  2381.       detail            = "spinbutton_down"
  2382.       recolorable        = TRUE
  2383.       file            = "Images/Spin/spin-down-bg.png"
  2384.       border            = { 2, 2, 2, 2}
  2385.       stretch            = TRUE
  2386.       overlay_file        = "Images/Spin/arrow-down-disable.png"
  2387.       overlay_stretch        = FALSE
  2388.     }
  2389.     image
  2390.     {
  2391.       function            = BOX
  2392.       state             = ACTIVE
  2393.       detail            = "spinbutton_down"
  2394.       recolorable        = TRUE
  2395.       file            = "Images/Spin/spin-down-bg-active.png"
  2396.       border            = { 2, 2, 2, 3}
  2397.       stretch            = TRUE
  2398.       overlay_file        = "Images/Spin/arrow-down-active.png"
  2399.       overlay_stretch        = FALSE
  2400.     }
  2401.  
  2402.  
  2403.     # Spin - entry (textbox)
  2404.     #=============================
  2405.     image
  2406.     {
  2407.         function        = FOCUS
  2408.         recolorable        = TRUE
  2409.         file            = "Images/Spin/text-entry-focus.png"
  2410.         border            = { 2, 2, 3, 3}
  2411.         stretch            = TRUE
  2412.     }    
  2413.     
  2414.     image
  2415.     {
  2416.         function            = BOX
  2417.         recolorable            = TRUE
  2418.         shadow                = OUT
  2419.         state                = NORMAL
  2420.         detail                = "entry"
  2421.         file                = "Images/Spin/text-entry.png"
  2422.         border                = { 2 , 2 ,3 ,3 }
  2423.         stretch                = TRUE
  2424.     }
  2425.  
  2426.     image
  2427.     {
  2428.         function        = SHADOW
  2429.         state            = NORMAL
  2430.         shadow            = IN
  2431.         recolorable        = FALSE
  2432.         detail            = "entry"
  2433.         file            = "Images/Spin/text-entry.png"
  2434.         border            = { 2, 2, 2, 2}
  2435.         stretch            = TRUE
  2436.     }
  2437.   }
  2438.  
  2439. }
  2440.  
  2441.  
  2442. #=========================================================
  2443. # Conmbobox entry
  2444. #=========================================================
  2445. style "newwave-comboboxentry" = "newwave-wider"
  2446. {
  2447.   # Makes the button of the combo to have interior focus
  2448.   GtkButton::interior_focus            = 0
  2449.  
  2450.   engine "pixmap"
  2451.   {
  2452.  
  2453.     image
  2454.     {
  2455.     function        = FOCUS
  2456.     recolorable        = TRUE
  2457.     detail             = "entry"
  2458.     file            = "Images/Combo/combo-entry-focus.png"
  2459.     border            = {2, 2, 2, 3}
  2460.     stretch            = TRUE
  2461.     }    
  2462.     
  2463.     
  2464.     image
  2465.     {
  2466.       function            = BOX
  2467.       recolorable        = TRUE
  2468.       state            = PRELIGHT
  2469.       file            = "Images/Combo/combo-prelight.png"
  2470.       border            = { 4, 4, 4, 4}
  2471.       stretch            = TRUE
  2472.     }
  2473.     image
  2474.     {
  2475.       function            = BOX
  2476.       recolorable        = TRUE
  2477.       state            = NORMAL
  2478.       file            = "Images/Combo/combo-normal.png"
  2479.       border            = { 4, 4, 4, 4}
  2480.       stretch            = TRUE
  2481.     }
  2482.  
  2483.   image
  2484.     {
  2485.       function            = BOX
  2486.       recolorable        = TRUE
  2487.       state            = ACTIVE
  2488.       file            = "Images/Combo/combo-pressed.png"
  2489.       border            = { 4, 4, 4, 4}
  2490.       stretch            = TRUE
  2491.     }
  2492.    
  2493.  image
  2494.     {
  2495.       function            = BOX
  2496.       recolorable        = TRUE
  2497.       state            = INSENSITIVE
  2498.       file            = "Images/Combo/combo-inactive.png"
  2499.       border            = { 4, 4, 4, 4}
  2500.       stretch            = TRUE
  2501.     }
  2502.  
  2503.     image
  2504.    {
  2505.          function        = SHADOW
  2506.         detail            = "entry"
  2507.         shadow            = IN
  2508.         recolorable        = FALSE
  2509.         file            = "Images/Combo/combo-entry.png"
  2510.         border            = { 2,2,2,2 }
  2511.         stretch            = TRUE
  2512.    }
  2513.     
  2514.   }
  2515. }
  2516.  
  2517.  
  2518. style "newwave-combomenu"
  2519. {
  2520.         fg[PRELIGHT] = @bg_color
  2521. }
  2522. widget_class "*GtkComboBox*.*GtkMenu*.*" style "newwave-combomenu"
  2523.  
  2524. style "newwave-list-item"
  2525. {
  2526.   fg[PRELIGHT] = @bg_color      
  2527.   engine "pixmap"
  2528.   {
  2529.         image
  2530.         {
  2531.                 function        = FLAT_BOX
  2532.                 #detail          = "listitem"
  2533.                 state           = SELECTED
  2534.                 file            = "Images/Tree/selected.png"
  2535.                 border          = {2,2,2,2}               
  2536.          }
  2537.   }                            
  2538. }
  2539. widget_class "*<GtkListItem>*" style "newwave-list-item"
  2540.  
  2541.  
  2542. #=========================================================
  2543. # Combobox
  2544. #=========================================================
  2545. style "newwave-combobox" = "newwave-comboboxentry"
  2546. {
  2547.     xthickness = 3
  2548.     ythickness = 3
  2549.     
  2550.     fg[PRELIGHT] = @bg_color    
  2551. }
  2552.  
  2553. style "newwave-combobutton" = "newwave-default"
  2554. {
  2555.   # Make it vertical
  2556.   GtkButton::child_displacement_x = 0
  2557.   GtkButton::child_displacement_y = 1
  2558.   GtkButton::interior_focus            = 1
  2559.  
  2560.         engine "pixmap"
  2561.         {
  2562.         image
  2563.       {
  2564.         function        = FOCUS
  2565.         recolorable        = TRUE
  2566.         file            = "Images/Combo/combo-focus.png"
  2567.         border            = {2, 2, 3, 3}
  2568.         stretch            = TRUE
  2569.         }    
  2570.     
  2571.         image
  2572.         {
  2573.                 function        = BOX
  2574.                 state            = NORMAL
  2575.                 file            = "Images/Combo/combo-normal.png"
  2576.                 border            = { 0, 2, 2, 2}
  2577.                 stretch            = TRUE
  2578.         }
  2579.  
  2580.         image
  2581.         {
  2582.                 function        = BOX
  2583.                 recolorable        = TRUE
  2584.                 state            = PRELIGHT
  2585.                 shadow            = OUT
  2586.                 file            = "Images/Combo/combo-prelight.png"
  2587.                 border            = { 0, 2, 2, 2}
  2588.                 stretch            = TRUE
  2589.         }
  2590.         
  2591.         image
  2592.         {
  2593.                 function        = BOX
  2594.                 recolorable        = TRUE
  2595.                 state            = PRELIGHT
  2596.                 shadow            = IN
  2597.                 file            = "Images/Combo/combo-prelight.png"
  2598.                 border            = { 0, 2, 2, 2}
  2599.                 stretch            = TRUE
  2600.         }
  2601.  
  2602.         image
  2603.         {
  2604.                 function        = BOX
  2605.                 state            = ACTIVE
  2606.                 file            = "Images/Combo/combo-pressed.png"
  2607.                 border            = { 0, 2, 2, 2}
  2608.                 stretch            = TRUE
  2609.         }
  2610.         image
  2611.         {
  2612.                 function        = BOX
  2613.                 state            = INSENSITIVE
  2614.                 file            = "Images/Combo/combo-inactive.png"
  2615.                 border            = { 0, 2, 2, 2}
  2616.                 stretch            = TRUE
  2617.         } 
  2618. }
  2619. }
  2620.  
  2621.  
  2622. #=========================================================
  2623. # Entry (textbox)
  2624. #=========================================================
  2625. style "newwave-entry" = "newwave-wider"
  2626. {
  2627.   #@author:dilomo@ Disable outer focus glow because it look ugly in comboboxes and spins
  2628.   GtkWidget::interior_focus    = 0
  2629.   GtkEntry::inner-border        = {2, 2, 1, 1}
  2630.   
  2631.  
  2632.   
  2633.   engine "pixmap"
  2634.   {
  2635.     
  2636.     # i'm unsure about these
  2637.     image
  2638.     {
  2639.       function            = BOX
  2640.       recolorable        = TRUE
  2641.       shadow            = IN
  2642.       state            = NORMAL
  2643.       file            = "Images/Shadows/entry-shadow-in.png"
  2644.       border            = { 3,3,4,3 }
  2645.       stretch            = TRUE
  2646.     }    
  2647.     image
  2648.     {
  2649.      function            = BOX
  2650.       recolorable        = TRUE
  2651.       shadow            = OUT
  2652.       state            = NORMAL
  2653.       file            = "Images/Shadows/entry-shadow-in.png" 
  2654.       border            = { 3,3,4,3 }
  2655.       stretch            = TRUE
  2656.     }
  2657.     image    
  2658.     {
  2659.       function            = BOX
  2660.       recolorable        = TRUE
  2661.       shadow            = OUT
  2662.       state            = ACTIVE
  2663.       file            = "Images/Shadows/entry-focus.png"
  2664.       border            = { 2,2,2,2 }
  2665.       stretch            = TRUE
  2666.     }
  2667.     image    
  2668.     {
  2669.       function            = BOX
  2670.       recolorable        = TRUE
  2671.       shadow            = IN
  2672.       state            = INSENSITIVE
  2673.       file            = "Images/Shadows/entry-focus.png"
  2674.       border            = { 2,2,2,2 }
  2675.       stretch            = TRUE
  2676.     }
  2677.     
  2678.     
  2679.     # Glow image when selected
  2680.     image
  2681.     {
  2682.       function            = FOCUS
  2683.       recolorable        = TRUE
  2684.       detail            = "entry"
  2685.       file            = "Images/Shadows/entry-focus.png"
  2686.       border            = {3, 3, 4, 3}
  2687.       stretch            = TRUE
  2688.     }    
  2689.  
  2690.     # the actual textbox in normal state
  2691.     image
  2692.     {
  2693.          function        = SHADOW
  2694.         detail            = "entry"
  2695.         shadow            = IN
  2696.     state            = NORMAL
  2697.         recolorable        = FALSE
  2698.         file            = "Images/Shadows/entry-shadow-in.png"
  2699.         border            = { 2,2,2,2 }
  2700.         stretch            = TRUE
  2701.     }  
  2702.  }
  2703.  
  2704.  
  2705. }
  2706.  
  2707. style "newwave-entry-nofocus" = "newwave-entry"
  2708. {
  2709.    GtkWidget::interior_focus    = 1
  2710. }
  2711.  
  2712. style "newwave-panel-entry" = "newwave-entry"
  2713. {
  2714.   engine "pixmap"
  2715.   {
  2716.     
  2717.     # i'm unsure about these
  2718.     image
  2719.     {
  2720.       function            = BOX
  2721.       recolorable        = TRUE
  2722.       shadow            = IN
  2723.       state            = NORMAL
  2724.       file            = "Images/Shadows/entry-shadow-in-panel.png"
  2725.       border            = { 3,3,4,3 }
  2726.       stretch            = TRUE
  2727.     }    
  2728.     image
  2729.     {
  2730.      function            = BOX
  2731.       recolorable        = TRUE
  2732.       shadow            = OUT
  2733.       state            = NORMAL
  2734.       file            = "Images/Shadows/entry-shadow-in-panel.png" 
  2735.       border            = { 3,3,4,3 }
  2736.       stretch            = TRUE
  2737.     }
  2738.     image    
  2739.     {
  2740.       function            = BOX
  2741.       recolorable        = TRUE
  2742.       shadow            = OUT
  2743.       state            = ACTIVE
  2744.       file            = "Images/Shadows/entry-focus-panel.png"
  2745.       border            = { 2,2,2,2 }
  2746.       stretch            = TRUE
  2747.     }
  2748.     image    
  2749.     {
  2750.       function            = BOX
  2751.       recolorable        = TRUE
  2752.       shadow            = IN
  2753.       state            = INSENSITIVE
  2754.       file            = "Images/Shadows/entry-focus-panel.png"
  2755.       border            = { 2,2,2,2 }
  2756.       stretch            = TRUE
  2757.     }
  2758.     
  2759.     
  2760.     # Glow image when selected
  2761.     image
  2762.     {
  2763.       function            = FOCUS
  2764.       recolorable        = TRUE
  2765.       detail            = "entry"
  2766.       file            = "Images/Shadows/entry-focus-panel.png"
  2767.       border            = {3, 3, 4, 3}
  2768.       stretch            = TRUE
  2769.     }    
  2770.  
  2771.     # the actual textbox in normal state
  2772.     image
  2773.     {
  2774.          function        = SHADOW
  2775.         detail            = "entry"
  2776.         shadow            = IN
  2777.     state            = NORMAL
  2778.         recolorable        = FALSE
  2779.         file            = "Images/Shadows/entry-shadow-in-panel.png"
  2780.         border            = { 2,2,2,2 }
  2781.         stretch            = TRUE
  2782.     }  
  2783.  }
  2784. }
  2785. # Match the entries that might appear in the gnome panel as well as the dictionary applet
  2786. widget_class "*Panel*Entry*" style :highest "newwave-panel-entry"
  2787. widget_class "*GdictApp*Entry*" style :highest "newwave-panel-entry"
  2788.  
  2789. #=========================================================
  2790. # Task list
  2791. #=========================================================
  2792. style "newwave-tasklist" = "newwave-wide"
  2793. {
  2794. }
  2795.  
  2796. #=========================================================
  2797. # Treeview
  2798. #=========================================================
  2799. style "newwave-treeview" 
  2800. {
  2801.         # make unfocused items have different text color
  2802.         text[ACTIVE]    = shade(0.43, @selected_bg_color)
  2803.     text[SELECTED]  = @text_color
  2804.     
  2805.     bg[NORMAL]      = "#EDEDED" 
  2806.     bg[SELECTED]    = @selected_bg_color
  2807.     
  2808.         engine "pixmap"
  2809.     {
  2810.  
  2811.         # Focus Images in treeviews
  2812.         #========================================================
  2813.         
  2814.         
  2815.         # Focus for the drop item - indicator
  2816.         image
  2817.             {
  2818.                 function    = FOCUS
  2819.                 detail        = "treeview-drop-indicator-left"
  2820.                 file        = "Images/Tree/dropindicator.png"
  2821.                 border        = {2, 2, 2, 2}
  2822.                 stretch        = TRUE
  2823.         }
  2824.         image
  2825.             {
  2826.                 function    = FOCUS
  2827.                 detail        = "treeview-drop-indicator-middle"
  2828.                 file        = "Images/Tree/dropindicator.png"
  2829.                 border        = {2, 2, 2, 2}
  2830.                 stretch        = TRUE
  2831.         }
  2832.         image
  2833.             {
  2834.                 function    = FOCUS
  2835.                 detail        = "treeview-drop-indicator-right"
  2836.                 file        = "Images/Tree/dropindicator.png"
  2837.                 border        = {2, 2, 2, 2}
  2838.                 stretch        = TRUE
  2839.         }
  2840.         
  2841.         image
  2842.             {
  2843.                 function    = FOCUS
  2844.                 detail        = "treeview-drop-indicator"
  2845.                 file        = "Images/Tree/dropindicator.png"
  2846.                 border        = {2, 2, 2, 2}
  2847.                 stretch        = TRUE
  2848.         }
  2849.         
  2850.         # Focus for the seleced row
  2851.         image
  2852.             {
  2853.                 function    = FOCUS
  2854.                 detail         = "treeview-left"
  2855.                 file        = "Images/Tree/row-focus.png"
  2856.                 border        = {3, 3, 3, 3 }
  2857.                 stretch        = TRUE
  2858.         }
  2859.         image
  2860.             {
  2861.                 function    = FOCUS
  2862.                 detail         = "treeview-middle"
  2863.                 file        = "Images/Tree/row-focus.png"
  2864.                 border        = {3, 3, 3, 3 }
  2865.                 stretch        = TRUE
  2866.         }
  2867.         image
  2868.             {
  2869.                 function    = FOCUS
  2870.                 detail         = "treeview-right"
  2871.                 file        = "Images/Tree/row-focus.png"
  2872.                 border        = {3, 3, 3, 3 }
  2873.                 stretch        = TRUE
  2874.         }
  2875.         
  2876.         image
  2877.             {
  2878.                 function    = FOCUS
  2879.                 detail         = "treeview"
  2880.                 file        = "Images/Tree/row-focus.png"
  2881.                 border        = {3, 3, 3, 3 }
  2882.                 stretch        = TRUE
  2883.         }
  2884.         
  2885.         # Focus for the whole empty treeview    
  2886.         image
  2887.             {
  2888.                 function    = FOCUS
  2889.                 recolorable     = TRUE
  2890.                 file        = "Images/Tree/tree-empty-focus.png"
  2891.                 border        = {3, 3, 3, 3 }
  2892.                 stretch        = TRUE
  2893.         }
  2894.     
  2895.     
  2896.             # Active Rows
  2897.         #========================================================
  2898.         
  2899.         # Start Selected images
  2900.         image
  2901.         {
  2902.             function        = FLAT_BOX
  2903.             state           = SELECTED
  2904.             detail        = "cell_even_start"
  2905.             border          = {6, 2, 2, 2}
  2906.             file            = "Images/Tree/selected-mid.png"
  2907.             stretch        = TRUE
  2908.         }
  2909.         image
  2910.         {
  2911.             function        = FLAT_BOX
  2912.             state           = SELECTED
  2913.             detail        = "cell_odd_start"
  2914.             border          = {6, 2, 2, 2}
  2915.             file            = "Images/Tree/selected-mid.png"
  2916.             stretch        = TRUE
  2917.         }
  2918.         image
  2919.         {
  2920.             function        = FLAT_BOX
  2921.             state           = SELECTED
  2922.             detail        = "cell_even_sorted_start"
  2923.             border          = {6, 2, 2, 2}
  2924.             file            = "Images/Tree/selected-mid-odd-sorted.png"
  2925.             stretch        = TRUE
  2926.         }
  2927.         image
  2928.         {
  2929.             function        = FLAT_BOX
  2930.             state           = SELECTED
  2931.             detail        = "cell_odd_sorted_start"
  2932.             border          = {6, 2, 2, 2}
  2933.             file            = "Images/Tree/selected-mid-odd-sorted.png"
  2934.             stretch        = TRUE
  2935.         }
  2936.         
  2937.         # Middle Selected images
  2938.         image
  2939.         {
  2940.             function        = FLAT_BOX
  2941.             state           = SELECTED
  2942.             detail        = "cell_even_middle"
  2943.             border          = {2, 2, 2, 2}
  2944.             file            = "Images/Tree/selected-mid.png"
  2945.             stretch        = TRUE
  2946.         }
  2947.         image
  2948.         {
  2949.             function        = FLAT_BOX
  2950.             state           = SELECTED
  2951.             detail        = "cell_odd_middle"
  2952.             border          = {2, 2, 2, 2}
  2953.             file            = "Images/Tree/selected-mid.png"
  2954.             stretch        = TRUE
  2955.         }
  2956.         image
  2957.         {
  2958.             function        = FLAT_BOX
  2959.             state           = SELECTED
  2960.             detail        = "cell_even_sorted_middle"
  2961.             border          = {2, 2, 2, 2}
  2962.             file            = "Images/Tree/selected-mid-odd-sorted.png"
  2963.             stretch        = TRUE
  2964.         }
  2965.         image
  2966.         {
  2967.             function        = FLAT_BOX
  2968.             state           = SELECTED
  2969.             detail        = "cell_odd_sorted_middle"
  2970.             border          = {2, 2, 2, 2}
  2971.             file            = "Images/Tree/selected-mid-odd-sorted.png"
  2972.             stretch        = TRUE
  2973.         }
  2974.         
  2975.         # End Selected images
  2976.         image
  2977.         {
  2978.             function        = FLAT_BOX
  2979.             state           = SELECTED
  2980.             detail        = "cell_even_end"
  2981.             border          = {2, 6, 2, 2}
  2982.             file            = "Images/Tree/selected-end.png"
  2983.             stretch        = TRUE
  2984.         }
  2985.         image
  2986.         {
  2987.             function        = FLAT_BOX
  2988.             state           = SELECTED
  2989.             detail        = "cell_odd_end"
  2990.             border          = {2, 6, 2, 2}
  2991.             file            = "Images/Tree/selected-end.png"
  2992.             stretch        = TRUE
  2993.         }
  2994.         image
  2995.         {
  2996.             function        = FLAT_BOX
  2997.             state           = SELECTED
  2998.             detail        = "cell_even_sorted_end"
  2999.             border          = {2, 6, 2, 2}
  3000.             file            = "Images/Tree/selected-end-odd-sorted.png"
  3001.             stretch        = TRUE
  3002.         }
  3003.         image
  3004.         {
  3005.             function        = FLAT_BOX
  3006.             state           = SELECTED
  3007.             detail        = "cell_odd_sorted_end"
  3008.             border          = {2, 6, 2, 2}
  3009.             file            = "Images/Tree/selected-end-odd-sorted.png"
  3010.             stretch        = TRUE
  3011.         }
  3012.         
  3013.         
  3014.         # This is for treeviews with only one column
  3015.         image
  3016.         {
  3017.             function        = FLAT_BOX
  3018.             state           = SELECTED
  3019.             border          = {6, 2, 2, 2}
  3020.             file            = "Images/Tree/selected.png"
  3021.             stretch        = TRUE
  3022.         }
  3023.         
  3024.         # Normal Rows
  3025.         #========================================================
  3026.         
  3027.         # Start Normal images
  3028.         image
  3029.         {
  3030.             function        = FLAT_BOX
  3031.             state           = NORMAL
  3032.             detail         = "cell_even_start"
  3033.             border          = {2, 2, 2, 2}
  3034.             file            = "Images/Tree/tree-normal.png"
  3035.             stretch        = TRUE
  3036.         }
  3037.         image
  3038.         {
  3039.             function        = FLAT_BOX
  3040.             state           = NORMAL
  3041.             detail         = "cell_odd_start"
  3042.             border          = {2, 2, 2, 2}
  3043.             file            = "Images/Tree/tree-normal-odd.png"
  3044.             stretch        = TRUE
  3045.         }
  3046.         image
  3047.         {
  3048.             function        = FLAT_BOX
  3049.             state           = NORMAL
  3050.             detail         = "cell_even_sorted_start"
  3051.             border          = {2, 2, 2, 2}
  3052.             file            = "Images/Tree/tree-normal-sorted.png"
  3053.             stretch        = TRUE
  3054.         }
  3055.         image
  3056.         {
  3057.             function        = FLAT_BOX
  3058.             state           = NORMAL
  3059.             detail         = "cell_odd_sorted_start"
  3060.             border          = {2, 2, 2, 2}
  3061.             file            = "Images/Tree/tree-normal-sorted-odd.png"
  3062.             stretch        = TRUE
  3063.         }
  3064.         
  3065.         # Middle Normal images
  3066.         image
  3067.         {
  3068.             function        = FLAT_BOX
  3069.             state           = NORMAL
  3070.             detail         = "cell_even_middle"
  3071.             border          = {2, 2, 2, 2}
  3072.             file            = "Images/Tree/tree-normal.png"
  3073.             stretch        = TRUE
  3074.         }
  3075.         image
  3076.         {
  3077.             function        = FLAT_BOX
  3078.             state           = NORMAL
  3079.             detail         = "cell_odd_middle"
  3080.             border          = {2, 2, 2, 2}
  3081.             file            = "Images/Tree/tree-normal-odd.png"
  3082.             stretch        = TRUE
  3083.         }
  3084.         image
  3085.         {
  3086.             function        = FLAT_BOX
  3087.             state           = NORMAL
  3088.             detail         = "cell_even_sorted_middle"
  3089.             border          = {2, 2, 2, 2}
  3090.             file            = "Images/Tree/tree-normal-sorted.png"
  3091.             stretch        = TRUE
  3092.         }
  3093.         image
  3094.         {
  3095.             function        = FLAT_BOX
  3096.             state           = NORMAL
  3097.             detail         = "cell_odd_sorted_middle"
  3098.             border          = {2, 2, 2, 2}
  3099.             file            = "Images/Tree/tree-normal-sorted-odd.png"
  3100.             stretch        = TRUE
  3101.         }
  3102.         # End Normal images
  3103.         image
  3104.         {
  3105.             function        = FLAT_BOX
  3106.             state           = NORMAL
  3107.             detail         = "cell_even_end"
  3108.             border          = {2, 2, 2, 2}
  3109.             file            = "Images/Tree/tree-normal-end.png"
  3110.             stretch        = TRUE
  3111.         }
  3112.         image
  3113.         {
  3114.             function        = FLAT_BOX
  3115.             state           = NORMAL
  3116.             detail         = "cell_odd_end"
  3117.             border          = {2, 2, 2, 2}
  3118.             file            = "Images/Tree/tree-normal-odd-end.png"
  3119.             stretch        = TRUE
  3120.         }
  3121.         image
  3122.         {
  3123.             function        = FLAT_BOX
  3124.             state           = NORMAL
  3125.             detail         = "cell_even_sorted_end"
  3126.             border          = {2, 2, 2, 2}
  3127.             file            = "Images/Tree/tree-normal-sorted-end.png"
  3128.             stretch        = TRUE
  3129.         }
  3130.         image
  3131.         {
  3132.             function        = FLAT_BOX
  3133.             state           = NORMAL
  3134.             detail         = "cell_odd_sorted_end"
  3135.             border          = {2, 2, 2, 2}
  3136.             file            = "Images/Tree/tree-normal-sorted-odd-end.png"
  3137.             stretch        = TRUE
  3138.         }
  3139.         
  3140.         
  3141.         
  3142.         
  3143.         image
  3144.         {
  3145.             function        = BOX
  3146.             state           = ACTIVE
  3147.             border          = {2,2,2,2}
  3148.             file            = "Images/Tree/selected.png"
  3149.             stretch        = TRUE
  3150.         }
  3151.         
  3152.         # this is needed for the progressbars inside treeviews (e.g. Transmission, System Info)
  3153.             image
  3154.         {
  3155.             function        = BOX
  3156.             state           = SELECTED
  3157.             border          = {2,2,2,2}
  3158.             file            = "Images/Tree/selected-active.png"
  3159.             stretch        = TRUE
  3160.         }
  3161.     }
  3162. }
  3163.  
  3164.  
  3165. #=========================================================
  3166. # Treeview in Nautilus SidePane
  3167. #=========================================================
  3168. style "newwave-treeview-nautilus-sidebar"
  3169. {
  3170.     
  3171.         # make unfocused items have different text color but darker than in standard treeviews
  3172.         text[ACTIVE]    = shade(0.33, @selected_bg_color)
  3173.     text[SELECTED]  = @text_color
  3174.     
  3175.     bg[NORMAL]      = "#ffffff" # Color of sorted columns
  3176.     bg[SELECTED]    = @selected_bg_color
  3177.     
  3178.         engine "pixmap"
  3179.     {
  3180.  
  3181.         # Focus Images in treeviews
  3182.         #========================================================
  3183.         
  3184.         
  3185.         # Focus for the drop item - indicator
  3186.         image
  3187.             {
  3188.                 function    = FOCUS
  3189.                 detail        = "treeview-drop-indicator"
  3190.                 file        = "Images/Tree/dropindicator-sidebar.png"
  3191.                 border        = {2, 6, 2, 2}
  3192.                 stretch        = TRUE
  3193.         }
  3194.         
  3195.         # Focus for the seleced row
  3196.         image
  3197.             {
  3198.                 function    = FOCUS
  3199.                 detail         = "treeview"
  3200.                 file        = "Images/Tree/row-focus-sidebar.png"
  3201.                 border        = {3, 6, 3, 3 }
  3202.                 stretch        = TRUE
  3203.         }
  3204.         
  3205.         # Focus for the whole empty treeview    
  3206.         image
  3207.             {
  3208.                 function    = FOCUS
  3209.                 recolorable     = TRUE
  3210.                 file        = "Images/Tree/tree-empty-focus.png"
  3211.                 border        = {3, 3, 3, 3 }
  3212.                 stretch        = TRUE
  3213.         }
  3214.         
  3215.         
  3216.         # This is for treeviews with only one column
  3217.         image
  3218.         {
  3219.             function        = FLAT_BOX
  3220.             state           = SELECTED
  3221.             border          = {2, 6, 2, 2}
  3222.             file            = "Images/Tree/selected-sidebar.png"
  3223.             stretch        = TRUE
  3224.         }
  3225.         
  3226.         # this is needed for the progressbars inside treeviews (e.g. Transmission, System Info)
  3227.             image
  3228.         {
  3229.             function        = BOX
  3230.             state           = SELECTED
  3231.             border          = {2,2,2,2}
  3232.             file            = "Images/Tree/selected-active.png"
  3233.             stretch        = TRUE
  3234.         }
  3235.     }
  3236. }
  3237.  
  3238. style "newwave-treeview-header" = "newwave-default"
  3239. {
  3240.     bg[SELECTED] = mix(0.50, shade (1.05,@selected_bg_color), @tooltip_bg_color)
  3241.  
  3242.     GtkButton::interior_focus = 1
  3243.     GtkButton::focus_padding = 0
  3244.     
  3245.     # Make it vertical
  3246.     GtkButton::child_displacement_x = 0
  3247.     GtkButton::child_displacement_y = 1
  3248.  
  3249.         engine "pixmap" 
  3250.     {
  3251.     
  3252.         image
  3253.               {
  3254.                 function        = FOCUS
  3255.             recolorable        = TRUE
  3256.             file            = "Images/ListHeaders/list_header-focus.png"
  3257.             border          = { 2, 2, 2, 2 }
  3258.             stretch         = TRUE
  3259.               }
  3260.  
  3261.     
  3262.             image
  3263.               {
  3264.                 function        = BOX
  3265.             recolorable        = TRUE
  3266.             state        = NORMAL
  3267.             file            = "Images/ListHeaders/list_header.png"
  3268.             border          = { 2, 2, 2, 2 }
  3269.             stretch         = TRUE
  3270.               }
  3271.  
  3272.             image
  3273.               {
  3274.                 function        = BOX
  3275.             recolorable        = TRUE
  3276.             state        = PRELIGHT
  3277.             file            = "Images/ListHeaders/list_header-prelight.png"
  3278.             border          = { 2, 2, 2, 2 }
  3279.             stretch         = TRUE
  3280.               }
  3281.               
  3282.               image
  3283.               {
  3284.                 function        = BOX
  3285.             recolorable        = TRUE
  3286.             state        = INSENSITIVE
  3287.             file        = "Images/ListHeaders/list_header-insens.png"
  3288.             border          = { 2, 2, 2, 2 }
  3289.             stretch         = TRUE
  3290.                   }
  3291.               
  3292.     #Does this do anything?
  3293.  
  3294.         image
  3295.               {
  3296.                 function        = BOX
  3297.             recolorable        = TRUE
  3298.             state        = ACTIVE
  3299.             file        = "Images/ListHeaders/list_header-pressed.png"
  3300.             border          = { 2, 2, 2, 2}
  3301.             stretch         = TRUE
  3302.               }
  3303.         image
  3304.               {
  3305.                 function        = BOX
  3306.             recolorable        = TRUE
  3307.             state        = SELECTED
  3308.             file        = "Images/ListHeaders/list_header-prelight.png"
  3309.             border          = { 2, 2, 2, 2 }
  3310.             stretch         = TRUE
  3311.               }
  3312.     
  3313.         }
  3314. #widget_class "*List" style "newwave-treeview-header"
  3315. #widget_class "*GtkTree*" style "newwave-treeview-header"
  3316. #widget_class "*GtkCList*" style "newwave-treeview-header"
  3317. #widget_class "*Tree*" style "list-header"
  3318. }
  3319.  
  3320. #=========================================================
  3321. # Notebook
  3322. #=========================================================
  3323.  
  3324. style "newwave-notebook"
  3325. {
  3326. GtkNotebook::tab-overlap           = 6
  3327. GtkNotebook::tab-curvature          = 3
  3328.     
  3329. xthickness = 4
  3330. ythickness = 3
  3331.  
  3332. engine "pixmap" 
  3333. {
  3334.         # Focus - not currently working
  3335.         #=============================
  3336.         image
  3337.         {
  3338.                 function        = FOCUS
  3339.         recolorable        = TRUE
  3340.         detail                  = "tab"
  3341.         file            = "Images/Tabs/tab-focus.png"
  3342.         border                    = { 4,4,4,4}
  3343.         stretch                    = TRUE
  3344.     }
  3345.            
  3346.            
  3347.          # Tabs
  3348.          #=============================     
  3349.     image 
  3350.     {
  3351.         function        = EXTENSION
  3352.         recolorable        = TRUE
  3353.         state            = ACTIVE
  3354.         file            = "Images/Tabs/tab-bottom.png"
  3355.         border                    = { 3,3,1,3}
  3356.         stretch                    = TRUE
  3357.         gap_side        = TOP
  3358.     }
  3359.     image 
  3360.     {
  3361.         function        = EXTENSION
  3362.         recolorable        = TRUE
  3363.         detail                  = "tab"
  3364.         state            = ACTIVE
  3365.         file            = "Images/Tabs/tab-top.png"
  3366.         border                = { 3,3,3,1}
  3367.         stretch                    = TRUE
  3368.         gap_side        = BOTTOM
  3369.     }
  3370.     image 
  3371.     {
  3372.         function        = EXTENSION
  3373.         recolorable        = TRUE
  3374.         state            = ACTIVE
  3375.         file            = "Images/Tabs/tab-left.png"
  3376.         border                = { 3,1,3,3}
  3377.         stretch                = TRUE
  3378.         gap_side        = RIGHT
  3379.     }
  3380.     image 
  3381.     {
  3382.         function        = EXTENSION
  3383.         recolorable        = TRUE
  3384.         state            = ACTIVE
  3385.         file            = "Images/Tabs/tab-right.png"
  3386.         border                = { 1,3,3,3}
  3387.         stretch                = TRUE
  3388.         gap_side        = LEFT
  3389.     }    
  3390.     
  3391.     
  3392.     image 
  3393.     {
  3394.         function        = EXTENSION
  3395.         recolorable        = TRUE
  3396.         detail                  = "tab"
  3397.         file            = "Images/Tabs/tab-top-active.png"
  3398.         border                = { 3, 3, 5, 1}
  3399.         stretch                = TRUE
  3400.         gap_side        = BOTTOM
  3401.     }
  3402.     image 
  3403.     {
  3404.         function        = EXTENSION
  3405.         recolorable        = TRUE
  3406.         file            = "Images/Tabs/tab-bottom-active.png"
  3407.         detail                  = "tab"
  3408.         border                = { 3, 3, 1, 5}
  3409.         stretch                = TRUE
  3410.         gap_side        = TOP
  3411.     }
  3412.     image 
  3413.     {
  3414.         function        = EXTENSION
  3415.         recolorable        = TRUE
  3416.         detail                  = "tab"
  3417.         file            = "Images/Tabs/tab-left-active.png"
  3418.         border                = { 5, 1, 3, 3}
  3419.         stretch                = TRUE
  3420.         gap_side        = RIGHT
  3421.     }
  3422.     image 
  3423.     {
  3424.         function        = EXTENSION
  3425.         recolorable        = TRUE
  3426.         detail                  = "tab"
  3427.         file            = "Images/Tabs/tab-right-active.png"
  3428.         border                = { 1, 5, 3, 3}
  3429.         stretch                = TRUE
  3430.         gap_side        = LEFT
  3431.     }
  3432.  
  3433.          # Tab containers
  3434.          #============================= 
  3435.     image 
  3436.     {
  3437.         function        = BOX_GAP
  3438.         recolorable        = TRUE
  3439.         file            = "Images/Tabs/notebook-top.png" 
  3440.         border                = { 4, 4, 4, 4  }
  3441.         stretch                = TRUE
  3442.         gap_file        = "Images/Tabs/null-top.png"
  3443.         gap_border              = { 3, 3, 2, 2  }
  3444.         gap_start_file            = "Images/Tabs/top-gap-start.png"
  3445.         gap_start_border        = { 2, 2, 3, 3 }
  3446.         gap_end_file            = "Images/Tabs/top-gap-end.png"
  3447.         gap_end_border            = { 2, 2, 3, 3 }
  3448.         gap_side        = TOP
  3449.     }
  3450.     image 
  3451.     {
  3452.         function        = BOX_GAP
  3453.         recolorable        = TRUE
  3454.         file            = "Images/Tabs/notebook-bottom.png"
  3455.         border                    = { 4, 4, 4, 4  }
  3456.         stretch                = TRUE
  3457.         gap_file        = "Images/Tabs/null-bottom.png"
  3458.         gap_border        = { 5, 5, 5, 5  }
  3459.         gap_start_file            = "Images/Tabs/bottom-gap-start.png"
  3460.         gap_start_border    = { 2, 2, 3, 3 }
  3461.         gap_end_file            = "Images/Tabs/bottom-gap-end.png"
  3462.         gap_end_border            = { 2, 2, 3, 3 }
  3463.         gap_side        = BOTTOM
  3464.     }
  3465.     image 
  3466.     {
  3467.         function        = BOX_GAP
  3468.         recolorable        = TRUE
  3469.         file            = "Images/Tabs/notebook-left.png"
  3470.         border                = { 2, 4, 4, 4  }
  3471.         stretch                = TRUE
  3472.         gap_file        = "Images/Tabs/null-left.png"
  3473.         gap_border        = { 2, 2, 2, 2  }
  3474.         gap_start_file            = "Images/Tabs/left-gap-start.png"
  3475.         gap_start_border          = { 3, 2, 3, 2 }
  3476.         gap_end_file            = "Images/Tabs/left-gap-end.png"
  3477.         gap_end_border            = { 3, 2, 2, 3 }
  3478.         gap_side        = LEFT
  3479.     }
  3480.     image 
  3481.     {
  3482.                 function        = BOX_GAP
  3483.                 recolorable        = TRUE
  3484.                 file            = "Images/Tabs/notebook-right.png" 
  3485.                 border                =  { 4, 2, 4, 4  }
  3486.                 stretch                = TRUE
  3487.                 gap_file        = "Images/Tabs/null-right.png"
  3488.                 gap_border        = { 1, 1, 3, 3  }
  3489.                 gap_start_file            = "Images/Tabs/right-gap-start.png"
  3490.                 gap_start_border    = { 2, 3, 3, 2 } #{ 2, 3, 2, 3 }
  3491.                 gap_end_file            = "Images/Tabs/right-gap-end.png"
  3492.                 gap_end_border            = { 2, 3, 2, 3 }
  3493.                 gap_side        = RIGHT
  3494.     }
  3495.     
  3496.          # No Tabs
  3497.          #============================= 
  3498.     image 
  3499.     {
  3500.           function        = BOX
  3501.           recolorable    = TRUE
  3502.           file        = "Images/Tabs/notebook-top.png"
  3503.           border        = { 5, 5, 6, 5  }
  3504.           stretch        = TRUE
  3505.           #gap_side        = TOP
  3506.     }
  3507. }
  3508. }
  3509.  
  3510.  
  3511.  
  3512. #=========================================================
  3513. # Metacity title
  3514. #=========================================================
  3515. style "newwave-frame-title"
  3516. {
  3517.     fg[NORMAL] = lighter (@fg_color)
  3518. }
  3519.  
  3520.  
  3521. #=========================================================
  3522. # Tooltips
  3523. #=========================================================
  3524. style "newwave-tooltips" = "newwave-wider"
  3525. {
  3526.     
  3527.     fg[NORMAL] = @tooltip_fg_color
  3528.     
  3529.     bg[NORMAL] = @tooltip_bg_color
  3530.     bg[SELECTED] = darker(@tooltip_bg_color)
  3531.     bg[ACTIVE] = darker(@tooltip_bg_color)
  3532.     
  3533.     engine "pixmap"
  3534.         {
  3535.     image
  3536.      {
  3537.         function    = FLAT_BOX
  3538.         recolorable    = TRUE
  3539.         file            = "Images/Others/tooltip.png"
  3540.         border          = {3, 3, 3, 3}
  3541.         stretch            = TRUE
  3542.      }
  3543.         }
  3544. }
  3545.  
  3546. #=========================================================
  3547. # Statusbar
  3548. #=========================================================
  3549. style "newwave-statusbar"
  3550. {
  3551.         xthickness = 0
  3552.         ythickness = 0
  3553.         
  3554.     bg[NORMAL] = @bg_color
  3555.     #fg[ACTIVE] = shade (0.8, @bg_color)
  3556.     #text[NORMAL] = shade (0.8, @bg_color)
  3557.     
  3558.     engine "pixmap"
  3559.         {
  3560.         image
  3561.         {
  3562.             function    = RESIZE_GRIP
  3563.             recolorable    = TRUE
  3564.             detail        = "statusbar"
  3565.             overlay_file    = "Images/Others/statusgrip.png"
  3566.             overlay_border    = { 0 , 0 , 0 , 0}
  3567.             overlay_stretch    = TRUE
  3568.         }
  3569.         }
  3570. }
  3571.  
  3572. #=========================================================
  3573. # Scale
  3574. #=========================================================
  3575. style "newwave-scale" = "newwave-range"
  3576. {
  3577.     #engine "clearlooks"
  3578.     #{
  3579.     #    hint    = "scale"
  3580.     #    style    = CLASSIC
  3581.     #}
  3582. }
  3583.  
  3584. style "newwave-hscale"
  3585. {
  3586.     #engine "clearlooks"
  3587.     #{
  3588.     #    hint    = "hscale"
  3589.     #}
  3590. }
  3591.  
  3592. style "newwave-vscale"
  3593. {
  3594.     #engine "clearlooks"
  3595.     #{
  3596.     #    hint    = "vscale"
  3597.     #}
  3598. }
  3599.  
  3600. #=========================================================
  3601. # Menu system
  3602. #=========================================================
  3603.  
  3604. style "newwave-menubar" = "newwave-wider"
  3605. {    
  3606.     xthickness = 2
  3607.     ythickness = 2
  3608.  
  3609.     fg[NORMAL] = @bg_color
  3610.     fg[PRELIGHT] = lighter(@text_color)
  3611.     fg[ACTIVE] =@text_color
  3612.     fg[INSENSITIVE] = shade(0.32 , @bg_color)
  3613.     
  3614.     bg[NORMAL] = "#5D5D5D" #Replace "#696969" with smth darker to make menubar less visible when loading windows in v. 0.7.x # @author:dilomo@ old value in v0.5.6 "#5f5f5f"
  3615.  
  3616.     bg[PRELIGHT] = darker(@bg_color)
  3617.     bg[ACTIVE] = darker(@bg_color)
  3618.     # @author:gp@ Improve consistency between active-menu-item and menu-background.
  3619.     bg[SELECTED] = shade ( 0.97, @bg_color) #(old value for shade: 0.90)
  3620.     
  3621.     # @author:dilomo@ We don't need this anymore as we use the better pixmap 
  3622.     # engine which could even stretch the shadow and fix several issues with VLC and thunderbird
  3623.     #bg_pixmap[NORMAL] = "Images/MenuMenubar/MenuBar.png"
  3624.     
  3625.  
  3626.     engine "pixmap"
  3627.     {
  3628.         image
  3629.         {
  3630.             function    = BOX
  3631.             state         = NORMAL
  3632.             file            = "Images/MenuMenubar/MenuBarBg.png"    
  3633.             stretch         = TRUE
  3634.              border        = { 1, 1, 1, 2 }
  3635.             #overlay_file    = "Images/MenuMenubar/MenuBar.png"                 
  3636.                   #overlay_stretch = TRUE
  3637.             
  3638.             }
  3639.  
  3640.         image
  3641.         {
  3642.             function    = BOX
  3643.             state         = ACTIVE
  3644.             file           = "Images/MenuMenubar/MenuBarBg.png"    
  3645.             stretch        = TRUE
  3646.             border        = { 1, 1, 1, 2 }
  3647.             #overlay_file    = "Images/MenuMenubar/MenuBar.png"                 
  3648.                   #overlay_stretch = TRUE
  3649.             }
  3650.         
  3651.  
  3652.         image
  3653.         {
  3654.             function    = BOX
  3655.             state         = INSENSITIVE
  3656.             file           = "Images/MenuMenubar/MenuBarBg.png"    
  3657.             stretch        = TRUE
  3658.             border        = { 1, 1, 1, 2 }
  3659.             #overlay_file    = "Images/MenuMenubar/MenuBar.png"                 
  3660.                   #overlay_stretch = TRUE
  3661.             }
  3662.  
  3663.           image
  3664.            {
  3665.                function    = BOX
  3666.                   recolorable    = TRUE
  3667.             state         = PRELIGHT
  3668.                  file        = "Images/MenuMenubar/menubar-item.png"
  3669.                   border        = { 2, 2, 4, 2 }
  3670.                   stretch        = TRUE
  3671.             }
  3672.      }
  3673. }
  3674.  
  3675. style "newwave-menu-notop" 
  3676. {
  3677.         xthickness = 1
  3678.         ythickness = 3  
  3679.     
  3680.     bg[NORMAL] = "#F7F7F7"
  3681.         
  3682.         base[NORMAL] = "#F7F7F7"
  3683.         
  3684.         fg[NORMAL] = shade(0.3, "#696969")
  3685.         fg[PRELIGHT] =  @text_color
  3686.         fg[ACTIVE] =  @text_color
  3687.         fg[SELECTED] =  @text_color
  3688.         
  3689.         text[NORMAL]        = @text_color
  3690.     text[PRELIGHT]      = @text_color
  3691.     text[ACTIVE]        = @text_color
  3692.     text[SELECTED]      = @text_color
  3693.     text[INSENSITIVE]   = "#696969"
  3694.  
  3695.     #Dark scheme
  3696.     #fg[NORMAL] = @bg_color
  3697.     #fg[PRELIGHT] = lighter(@bg_color)
  3698.     #fg[ACTIVE] = lighter(@bg_color)
  3699.     #fg[SELECTED] = lighter(@bg_color)
  3700.     #fg[INSENSITIVE] = darker("#7a7878")
  3701.     
  3702.     #bg[NORMAL] = "#7a7878"
  3703.     #bg[PRELIGHT] = "#7a7878"
  3704.     #bg[ACTIVE] = "#7a7878"
  3705.     #bg[SELECTED] =  darker("#7a7878")
  3706.     
  3707.     
  3708.       engine "pixmap"
  3709.       {
  3710.         image
  3711.         {
  3712.                 function    = BOX
  3713.                 recolorable     = TRUE
  3714.                 detail        = "menu"
  3715.                 shadow          = OUT
  3716.                 file        = "Images/MenuMenubar/combomenu-notop.png" #used because is darker and once the original
  3717.                 border        = { 1, 1, 1, 1 }
  3718.                 stretch        = TRUE
  3719.            }
  3720.       }
  3721. }
  3722.  
  3723. style "newwave-menu" = "newwave-menu-notop" 
  3724. {
  3725.       engine "pixmap"
  3726.       {
  3727.         image
  3728.         {
  3729.                 function    = BOX
  3730.                 recolorable     = TRUE
  3731.                 detail        = "menu"
  3732.                 shadow          = OUT
  3733.                 file        = "Images/MenuMenubar/combomenu.png" #used because is darker and once the original
  3734.                 border        = { 1, 1, 1, 1 }
  3735.                 stretch        = TRUE
  3736.            }
  3737.       }
  3738. }
  3739.  
  3740. style "newwave-menu-item"
  3741. {
  3742.         xthickness = 0
  3743.         ythickness = 3
  3744.         
  3745.     #Dark scheme
  3746.         #fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color)
  3747.     #fg[PRELIGHT] = @fg_color
  3748.     #fg[INSENSITIVE] = darker("#696969")
  3749.     
  3750.     #bg[NORMAL] = "#696969"
  3751.     #bg[ACTIVE] =  shade(1.05,"#696969")
  3752.     #bg[SELECTED] = shade(1.05,"#696969")
  3753.     #bg[INSENSITIVE] = "#696969"
  3754.  
  3755.         
  3756.         engine "pixmap"
  3757.       {
  3758.         image
  3759.         {
  3760.           function            = BOX
  3761.           recolorable        = TRUE
  3762.           file            = "Images/MenuMenubar/menuitem.png"
  3763.           border            = { 4, 4, 4, 4 }
  3764.           stretch            = TRUE
  3765.         }
  3766.         image
  3767.         {
  3768.           function            = ARROW
  3769.           recolorable        = TRUE
  3770.           state            = NORMAL
  3771.           overlay_file        = "Images/Arrows/arrow-right.png"
  3772.           overlay_stretch        = FALSE
  3773.           arrow_direction        = RIGHT
  3774.         }
  3775.         image
  3776.         {
  3777.           function            = ARROW
  3778.           recolorable        = TRUE
  3779.           state            = PRELIGHT
  3780.           overlay_file        = "Images/Arrows/arrow-right-prelight.png"
  3781.           overlay_stretch        = FALSE
  3782.           arrow_direction        = RIGHT
  3783.         }
  3784.         image
  3785.         {
  3786.           function            = ARROW
  3787.           recolorable        = TRUE
  3788.           state            = INSENSITIVE
  3789.           overlay_file        = "Images/Arrows/arrow-right-insens.png"
  3790.           overlay_stretch        = FALSE
  3791.           arrow_direction        = RIGHT
  3792.         }
  3793.         
  3794.       }
  3795.   
  3796.     
  3797. }
  3798.  
  3799. style "newwave-tearoff-menu-item"    = "newwave-menu-item"
  3800. {
  3801.   engine "pixmap"
  3802.   {
  3803.     image
  3804.     {
  3805.       function                = ARROW
  3806.       file                = "Images/Arrows/arrow-left.png"
  3807.       stretch                = TRUE
  3808.       arrow_direction            = LEFT
  3809.     }
  3810.   }
  3811. }
  3812.  
  3813. style "newwave-separator-menu-item"
  3814. {
  3815.     xthickness = 1
  3816.     ythickness = 2
  3817.     
  3818.   engine "pixmap"
  3819.   {
  3820.     image
  3821.     {
  3822.       function      = HLINE
  3823.       recolorable = TRUE
  3824.       file      = "Images/MenuMenubar/MenuLine.png"
  3825.       border      = { 1, 1, 1, 1 }
  3826.       stretch      = TRUE
  3827.     }
  3828.   }
  3829. }
  3830.  
  3831. #=========================================================
  3832. # Main Menu
  3833. #=========================================================
  3834. style "newwave-panelmenubar"
  3835. {
  3836.  
  3837.         # @author:dilomo@ fix the overlay of the main menu
  3838.         #bg_pixmap[NORMAL] = "Images/MenuMenubar/null.png"
  3839.  
  3840.      
  3841.         #use anoter file for menus
  3842.         engine "pixmap"
  3843.         {
  3844.     image
  3845.     {
  3846.             #use anoter file for menus
  3847.         function    = BOX
  3848.         state        = PRELIGHT
  3849.         recolorable    = TRUE
  3850.         file        = "Images/MenuMenubar/panel-menubar-item.png"
  3851.         border            = { 4 , 4 , 4 , 4}
  3852.         stretch            = TRUE
  3853.     }
  3854.         image
  3855.     {
  3856.             #use transparent file for bg
  3857.         function    = BOX
  3858.         state        = NORMAL
  3859.         recolorable    = TRUE
  3860.         file        = "Images/MenuMenubar/null.png"
  3861.         border            = { 0 , 0 , 0 , 0}
  3862.         stretch            = TRUE
  3863.     }
  3864.     image
  3865.     {
  3866.             #use transparent file for bg
  3867.         function    = BOX
  3868.         state        = INSENSITIVE
  3869.         recolorable    = TRUE
  3870.         file        = "Images/MenuMenubar/null.png"
  3871.         border            = { 0 , 0 , 0 , 0}
  3872.         stretch            = TRUE
  3873.     }
  3874.       }
  3875. }
  3876.  
  3877. # soon a widget <main-menu-name> match will replace and solcve this
  3878. widget_class "*Panel*MenuBar*" style :highest "newwave-panelmenubar"
  3879.  
  3880.  
  3881. # This had to make the main menu whit white bg (not working yet but will in Ibex)
  3882. style "newwave-panelmenu-item"
  3883. {
  3884.         bg[NORMAL] = "#ffffff"
  3885.         
  3886.         base[NORMAL] = "#ffffff"
  3887.         
  3888.         fg[NORMAL] = shade(0.3, "#696969")
  3889.         fg[PRELIGHT] =  @text_color
  3890.         fg[ACTIVE] =  @text_color
  3891.         fg[SELECTED] =  @text_color
  3892.         
  3893.         text[NORMAL]        = @text_color
  3894.     text[PRELIGHT]      = @text_color
  3895.     text[ACTIVE]        = @text_color
  3896.     text[SELECTED]      = @text_color
  3897.     text[INSENSITIVE]   = "#696969"
  3898.     
  3899.      engine "pixmap"
  3900.      {
  3901.         image
  3902.         {
  3903.           function            = BOX
  3904.           recolorable        = TRUE
  3905.           file            = "Images/MenuMenubar/menuitem.png"
  3906.           border            = { 2, 2, 2, 2 }
  3907.           stretch            = TRUE
  3908.         }
  3909.         image
  3910.         {
  3911.           function            = ARROW
  3912.           recolorable        = TRUE
  3913.           state            = NORMAL
  3914.           overlay_file        = "Images/Arrows/arrow-right.png"
  3915.           overlay_stretch        = FALSE
  3916.           arrow_direction        = RIGHT
  3917.         }
  3918.         image
  3919.         {
  3920.           function            = ARROW
  3921.           recolorable        = TRUE
  3922.           state            = PRELIGHT
  3923.           overlay_file        = "Images/Arrows/arrow-right-prelight.png"
  3924.           overlay_stretch        = FALSE
  3925.           arrow_direction        = RIGHT
  3926.         }
  3927.         image
  3928.         {
  3929.           function            = ARROW
  3930.           recolorable        = TRUE
  3931.           state            = INSENSITIVE
  3932.           overlay_file        = "Images/Arrows/arrow-right-insens.png"
  3933.           overlay_stretch        = FALSE
  3934.           arrow_direction        = RIGHT
  3935.         }
  3936.       }
  3937.     
  3938. }
  3939. widget "*.gnome-panel-main-menu.*"  style :highest "newwave-panelmenu-item"
  3940.  
  3941. style "newwave-panelmenu" = "newwave-menu" 
  3942. {
  3943.         bg[NORMAL] = "#F5F5F5" #or lighter(@bg_color)
  3944.         
  3945.         base[NORMAL] = "#F5F5F5"
  3946.         
  3947.         fg[NORMAL] = darker("#696969")
  3948.         fg[PRELIGHT] =  @text_color
  3949.      
  3950.         text[NORMAL]        = @text_color
  3951.     text[PRELIGHT]      = @text_color
  3952.     text[ACTIVE]        = @text_color
  3953.     text[SELECTED]      = @text_color
  3954.     text[INSENSITIVE]   = "#696969"
  3955.     
  3956.       
  3957.      engine "pixmap"
  3958.      {
  3959.         image
  3960.         {
  3961.           function            = BOX
  3962.           recolorable        = TRUE
  3963.           file            = "Images/MenuMenubar/combomenu.png"
  3964.           border            = { 1, 1, 1, 1 }
  3965.           stretch            = TRUE
  3966.         }
  3967.       }
  3968. }
  3969. widget "*.gnome-panel-main-menu" style :highest "newwave-panelmenu"
  3970.  
  3971.  
  3972.  
  3973. #=========================================================
  3974. # Dark panel
  3975. #=========================================================
  3976. style "panel" = "newwave-default"
  3977. {
  3978.     fg[NORMAL] = shade(0.97, @bg_color) #mix(0.70, lighter(@selected_bg_color), @bg_color)
  3979.     fg[PRELIGHT] = @text_color # lighter(mix(0.90, lighter(@selected_bg_color), @bg_color))
  3980.     #@autho:gp@ Improve consistency between metacity-frame and application active in taskbar.
  3981.     fg[ACTIVE] = @base_color   # @text_color # lighter(mix(0.50, lighter(@selected_bg_color), @bg_color))
  3982.     
  3983.       # @author:dilomo@
  3984.       #dark color from v0.1 :  "#4C4D4E"
  3985.       #dark color from v0.1.1 :  "#424242"      
  3986.     bg[NORMAL] = "#3a3a3a" #This is dark gray
  3987.     # @author:gp@ Same color as item selected of taskbar menu.
  3988.     bg[PRELIGHT] = shade ( 1.60, @bg_color) #shade(3.0, "#424242") 
  3989.     #@autho:gp@ Improve consistency between metacity-frame and application active in taskbar.
  3990.     bg[ACTIVE] = shade(1.02, "#696969")     #bg[ACTIVE] = shade(2.5, "#424242")
  3991.     #@autho:gp@ Improve consistency between active-menu-item and menu-background.
  3992.     bg[SELECTED] = shade ( 1.60, @bg_color) #bg[SELECTED] = shade(3.2, "#424242")
  3993.     
  3994.     bg_pixmap[NORMAL] = "Images/Panel/PanelBarLong.png"
  3995.      
  3996. }
  3997.  
  3998. style "panel-nopixmap" = "panel"
  3999. {   
  4000.      bg_pixmap[NORMAL] = "Images/Others/null.png"
  4001. }
  4002.  
  4003. #=========================================================
  4004. # Panel Buttons (task list, date picker)
  4005. #=========================================================
  4006. style "newwave-panelbuttons"
  4007. {
  4008.  
  4009.      xthickness = 2
  4010.      ythickness = 1
  4011.     GtkWidget::focus_padding = 2
  4012.  
  4013.     engine "pixmap" {
  4014.       
  4015.         image
  4016.         {
  4017.             function            = BOX
  4018.             recolorable         = TRUE
  4019.             state            = NORMAL
  4020.             file                = "Images/Panel/p-normal.png"
  4021.             border              = { 4, 4, 4, 4 }
  4022.             stretch             = TRUE
  4023.         }
  4024.         
  4025.         #@author:dilomo@ used for normal prelight
  4026.         image
  4027.         {
  4028.             function            = BOX
  4029.             recolorable         = TRUE
  4030.             state            = PRELIGHT
  4031.             shadow            = OUT
  4032.             file                = "Images/Panel/p-prelight.png"
  4033.             border              = { 4, 4, 4, 4 }
  4034.             stretch             = TRUE
  4035.         }
  4036.         #@author:dilomo@ used for active (pressed) buttons prelight
  4037.         image
  4038.         {
  4039.             function            = BOX
  4040.             recolorable         = TRUE
  4041.             state            = PRELIGHT
  4042.             shadow            = IN
  4043.             file                = "Images/Panel/p-active-prelight.png"
  4044.             border              = { 4, 4, 4, 4 }
  4045.             stretch             = TRUE
  4046.         }
  4047.         
  4048.         image
  4049.         {
  4050.             function            = BOX
  4051.             recolorable         = TRUE
  4052.             state            = ACTIVE
  4053.             file                = "Images/Panel/p-active.png"
  4054.             border              = { 4, 4, 4, 4 }
  4055.             stretch             = TRUE
  4056.         }  
  4057.         image
  4058.         {
  4059.             function            = BOX
  4060.             recolorable         = TRUE
  4061.             state            = INSENSITIVE
  4062.             file                = "Images/Panel/p-insens.png"
  4063.             border              = { 4, 4, 2, 2 }
  4064.             stretch             = TRUE
  4065.         }  
  4066.             image
  4067.             {
  4068.                       function        = HANDLE
  4069.                       recolorable        = TRUE
  4070.                       overlay_file        = "Images/Panel/handle-v.png"
  4071.                       overlay_stretch        = FALSE
  4072.                       orientation        = VERTICAL
  4073.             }
  4074.             image
  4075.             {
  4076.                       function        = HANDLE
  4077.                       overlay_file        = "Images/Panel/handle-h.png"
  4078.                       overlay_stretch     = FALSE
  4079.                      orientation            = HORIZONTAL
  4080.            }
  4081.  
  4082.     }
  4083.  
  4084. }
  4085.  
  4086. #=========================================================
  4087. # Popup Nautilus Widget
  4088. #=========================================================
  4089. style "newwave-nautilus-location"
  4090. {
  4091.     bg[NORMAL] = "#E5D0C3"
  4092.     bg[INSENSITIVE] ="#E5D0C3"
  4093.     engine "pixmap" {
  4094.       
  4095.         image
  4096.         {
  4097.             function            = FLAT_BOX
  4098.             recolorable         = TRUE
  4099.             state            = INSENSITIVE
  4100.             file                = "Images/Others/nautilus-popup.png"
  4101.             border              = { 3, 1, 0, 3 }
  4102.             stretch             = TRUE
  4103.             overlay_file            = "Images/Others/nautilus-popup-highlight.png"
  4104.             overlay_border          = { 0, 0, 0, 0 }
  4105.             overlay_stretch         = TRUE
  4106.         }
  4107.         image
  4108.         {
  4109.             function            = FLAT_BOX
  4110.             recolorable         = TRUE
  4111.             file                = "Images/Others/nautilus-popup.png"
  4112.             border              = { 3, 1, 1, 3 }
  4113.             stretch             = TRUE
  4114.             overlay_file            = "Images/Others/nautilus-popup-highlight.png"
  4115.             overlay_border          = { 0, 0, 0, 0 }
  4116.             overlay_stretch         = TRUE
  4117.         }
  4118.     }
  4119. }
  4120. style "newwave-nautilus-location-text"
  4121. {
  4122.     bg[NORMAL] = mix(0.70, shade (1.05,"#696969"), @bg_color)
  4123.     bg[INSENSITIVE] = mix(0.80, shade (1.05,"#696969"), @bg_color)
  4124.  
  4125.     fg[NORMAL] = "#D89C4A"
  4126.     text[NORMAL] = "#ffffff"
  4127. }
  4128.  
  4129.  
  4130. #=========================================================
  4131. # Popup Notification Daemon
  4132. #=========================================================
  4133. style "newwave-notify-daemon"
  4134. {
  4135.     bg[NORMAL] = @text_color #mix(0.70, shade (1.05,"#696969"), @bg_color)
  4136.     bg[SELECTED] = @bg_color
  4137. }
  4138.  
  4139. #widget_class "*NotifyDaemon*" style :highest "newwave-notify-daemon"
  4140.  
  4141. class "*notif*"             style :highest "panel" #"newwave-notify-daemon"
  4142. class "*Notif*"             style :highest "panel" #"newwave-notify-daemon"
  4143. widget_class "*notif*"         style :highest "panel" #"newwave-notify-daemon"
  4144. widget_class "*Notif*"         style :highest "panel" #"newwave-notify-daemon"
  4145.  
  4146. #=========================================================
  4147. # Metacity background
  4148. #=========================================================
  4149. style "metacity-frame"
  4150. {
  4151.     bg[SELECTED] = "#696969" # @author:gp@ It must be the same color as menubar (bg[NORMAL])
  4152.     bg[NORMAL] = "#696969"
  4153. }
  4154.  
  4155. # @author:dilomo@ This has to fix the Appearance manager crash
  4156. style "newwave-window"
  4157. {
  4158.         bg_pixmap[NORMAL] = "Images/Others/null.png"
  4159. }
  4160.  
  4161. style "newwave-radiocheck" = "newwave-default"
  4162. {
  4163.     text[PRELIGHT]    = @base_color # Text on Mouseover
  4164. }
  4165.  
  4166.  
  4167.  
  4168.  
  4169. #=========================================================
  4170. #=========================================================
  4171. # Matches
  4172. #=========================================================
  4173. #=========================================================
  4174.  
  4175.  
  4176.  
  4177. # theme radio buttons and checkmarks
  4178.  
  4179. class "GtkButton"                          style "newwave-button"
  4180.  
  4181. class "GtkCheck*"                                   style "newwave-checkbutton"
  4182. class "GtkRadio*"                                style "newwave-radiobutton"
  4183. class "GtkCheckMenuItem"                   style : highest "newwave-checkmenubutton" 
  4184. class "GtkRadioMenuItem"                                style : highest "newwave-radiomenubutton"
  4185.  
  4186. # keep proper colour for Metacity
  4187. class "MetaFrames"                     style "metacity-frame"
  4188. class "GtkWindow"                            style "newwave-window"
  4189.  
  4190. # theme default style is applied to every widget
  4191. class "GtkWidget"                        style "newwave-default"
  4192.  
  4193. # Increase the x/ythickness in some widgets
  4194. class "GtkFrame"                         style "newwave-frame"
  4195. class "GtkSeparator"                     style "newwave-wide"
  4196. class "GtkEntry"                       style "newwave-entry"
  4197. class "GtkOldEditable"                     style "newwave-entry"
  4198. class "GtkToolbar"                       style "newwave-toolbar" 
  4199. class "GtkRange"                         style "newwave-range"
  4200. class "GtkSpinButton"                      style "newwave-spinbutton"
  4201. class "GtkScale"                           style "newwave-scale"
  4202. class "GtkVScale"                          style "newwave-vscale"
  4203. class "GtkHScale"                          style "newwave-hscale"
  4204. class "GtkScrollbar"                       style "newwave-scrollbar"
  4205. #class "GtkVScrollbar"                      style "newwave-scrollbar"
  4206. #class "GtkHScrollbar"                      style "newwave-scrollbar"
  4207. class "GtkProgressBar"                     style "newwave-progressbar"
  4208. class "GtkTearoffMenuItem"                style "newwave-menu-item"
  4209. class "GtkMenuItem"                        style "newwave-menu-item"
  4210. class "GtkImageMenuItem"                    style "newwave-menu-item"
  4211. class "GtkItem"                            style "newwave-menu-item"
  4212. class "GtkOptionMenu"                            style "newwave-combobox"
  4213. class "GtkCombo*"                                  style "newwave-combobox"
  4214. class "*Font*"                                  style "newwave-combobox"
  4215.  
  4216. # General matching following, the order is choosen so that the right styles override each other
  4217. # eg. progressbar needs to be more important then the menu match.
  4218.  
  4219. # This is not perfect, it could be done better
  4220. # (That is modify *every* widget in the notebook, and change those back that
  4221. # we really don't want changed)
  4222. widget_class "*Nautilus*<GtkFrame>"             style "newwave-default"
  4223. widget_class "*<GtkNotebook>*<GtkEventBox>"         style "newwave-notebook"
  4224. widget_class "*<GtkNotebook>*<GtkDrawingArea>"      style "newwave-notebook"
  4225. widget_class "*<GtkNotebook>*<GtkLayout>"           style "newwave-notebook"
  4226.  
  4227. widget_class "*<GtkButton>"                  style "newwave-button"
  4228. widget_class "*<GtkLinkButton>"              style : highest "newwave-toolbuttons"
  4229. widget_class "*<GtkNotebook>"                style "newwave-notebook"
  4230. widget_class "*<GtkStatusbar>*"              style "newwave-statusbar"
  4231.  
  4232.  
  4233. widget_class "*<GtkComboBoxEntry>*"            style "newwave-comboboxentry"
  4234. widget_class "*<GtkCombo>*"                     style "newwave-combobox"
  4235. widget_class "*<GtkMenu>*"                      style "newwave-menu"
  4236. widget_class "*GtkMenubar*.*GtkMenu"             style "newwave-menu-notop"
  4237.  
  4238.  
  4239. widget_class "*<GtkMenuBar>*"                   style "newwave-menubar"
  4240.  
  4241. class "GtkMenuBar"                    style "newwave-menubar"
  4242. widget_class "GtkMenuBar"                style "newwave-menubar"
  4243.  
  4244. class "*MenuBar*"                    style "newwave-menubar"
  4245. widget_class "*MenuBar*"                style "newwave-menubar"
  4246.  
  4247. widget_class "*GtkToolButton*"              style : highest "newwave-toolbuttons"
  4248. widget_class "*GtkToggleToolButton*"          style : highest "newwave-toolbuttons"
  4249. widget_class "*GtkMenuToolButton*"          style : highest "newwave-toolbuttons"
  4250. widget_class "*GtkToolbar*Button"        style : highest "newwave-toolbuttons"
  4251.  
  4252.  
  4253.  
  4254.  
  4255. # @author:dilomo@ Here "*<GtkMenu>.<GtkMenuItem>*" GtkMenu is used 
  4256. # to make menus' bg gray not like @selected_bg_color (relevant to Clearlooks)
  4257. widget_class "*<GtkMenu>.<GtkMenuItem>*"              style "newwave-menu-item"
  4258. widget_class"*.GtkAccelMenuItem.*"                    style "newwave-menu-item"
  4259.  
  4260.  
  4261. widget_class "*<GtkSeparatorMenuItem>*"         style "newwave-separator-menu-item"
  4262.  
  4263. widget_class "*.<GtkFrame>.<GtkLabel>"             style "newwave-frame-title"
  4264. widget_class "*.<GtkFrame>.*"                style "newwave-frame"
  4265. widget_class "*.<GtkTreeView>*"                    style "newwave-treeview"
  4266. widget_class "*.GtkFrame.GtkScrolledWindow.GtkTreeView" style "newwave-treeview"
  4267.  
  4268. widget_class "*<GtkProgressBar>"                   style "newwave-progressbar"
  4269.  
  4270. widget_class "*Entry.GtkButton"                   style "newwave-combobutton"
  4271. widget_class "*GtkComboBoxEntry*Button"               style "newwave-combobutton"
  4272. widget_class "*.GtkComboBox.GtkButton"             style "newwave-combobutton"
  4273. widget_class "*.GtkComboBox.GtkMenu"                 style "newwave-combomenu"
  4274. widget_class "*.GtkCombo.GtkButton"                style "newwave-combobutton"
  4275.  
  4276.  
  4277. widget_class "*Tool*GtkToggleButton"                    style "newwave-button"
  4278. widget_class "*Tool*GtkButton"                          style "newwave-button"
  4279.  
  4280. # Treeview header
  4281. widget_class "*.<GtkTreeView>.<GtkButton>"         style "newwave-treeview-header"
  4282. widget_class "*.<GtkCTree>.<GtkButton>"            style "newwave-treeview-header"
  4283. widget_class "*.<GtkList>.<GtkButton>"             style "newwave-treeview-header"
  4284. widget_class "*.<GtkCList>.<GtkButton>"            style "newwave-treeview-header"
  4285.  
  4286. # Workarounds for Evolution
  4287. widget_class "*.ETable.ECanvas"                style "newwave-treeview-header"
  4288. widget_class "*.ETree.ECanvas"                style "newwave-treeview-header"
  4289.  
  4290.  
  4291.  
  4292. # The window of the tooltip is called "gtk-tooltip"
  4293. #=========================================================
  4294. # FIXME:
  4295. # This will not work if one embeds eg. a button into the tooltip.
  4296. # As far as I can tell right now we will need to rework the theme
  4297. # quite a bit to get this working correctly.
  4298. # (It will involve setting different priorities, etc.)
  4299. #=========================================================
  4300. widget "gtk-tooltip*"                     style "newwave-tooltips"
  4301.  
  4302.  
  4303. #=========================================================
  4304. #  W O R K    A R O U N D S
  4305. #=========================================================
  4306.  
  4307. # Special case the nautilus-extra-view-widget
  4308. # ToDo: A more generic approach for all applications that have a widget like this.
  4309. widget "*.nautilus-extra-view-widget*"         style : highest "newwave-nautilus-location"
  4310. widget "*.nautilus-extra-view-widget"             style : highest "newwave-nautilus-location"
  4311.  
  4312. #widget_class "MozillaGtkWidget*MenuBar"            style :highest "newwave-menubar"#-mozilla"
  4313. #widget "MozillaGtkWidget*Menu*"                    style :highest "newwave-menu-item-mozilla"
  4314.  
  4315. # @author: gp, Special case to set color backgroud in Nautilus Sidebar.
  4316. style "newwave-nautilus-sidebar"
  4317. {
  4318.   GtkTreeView::even_row_color = @bg_color
  4319.   # Make the sep line fade out
  4320.   engine "pixmap"
  4321.   {
  4322.       image
  4323.       {
  4324.               function        = HLINE
  4325.              recolorable        = TRUE
  4326.               file            = "Images/Lines/line-h-faded.png"
  4327.               stretch            = TRUE
  4328.       }
  4329.       
  4330.       # Make the handle be a vert line in order to better separate nautilus files view
  4331.       ## vertical handle
  4332.         image
  4333.         {
  4334.               function        = HANDLE
  4335.               recolorable        = TRUE
  4336.               state                   = NORMAL
  4337.                  overlay_file        = "Images/Others/null.png"
  4338.                overlay_stretch        = FALSE
  4339.                 orientation        = VERTICAL
  4340.         }
  4341.         image
  4342.         {
  4343.               function        = HANDLE
  4344.               recolorable        = TRUE
  4345.               state                   = PRELIGHT
  4346.                  overlay_file        = "Images/Others/null.png"
  4347.                overlay_stretch        = FALSE
  4348.                 orientation        = VERTICAL
  4349.         }
  4350.         image
  4351.         {
  4352.               function        = HANDLE
  4353.               recolorable        = TRUE
  4354.               state                   = ACTIVE
  4355.                  overlay_file        = "Images/Panel/handle-v-pressed.png"
  4356.                overlay_stretch        = FALSE
  4357.                 orientation        = VERTICAL
  4358.         }
  4359.         image
  4360.         {
  4361.               function        = HANDLE
  4362.               recolorable        = TRUE
  4363.               state                   = INSENSITIVE
  4364.                  overlay_file        = "Images/Panel/handle-v-insens.png"
  4365.                overlay_stretch        = FALSE
  4366.                 orientation        = VERTICAL
  4367.         }
  4368.       
  4369.  }
  4370. }
  4371.  
  4372. style "newwave-nautilus-sidebar-handles"
  4373. {
  4374.   engine "pixmap"
  4375.   {
  4376.       # TODO: Make the handle be a vert line in order to better separate nautilus files view
  4377.       ## vertical handle
  4378.         image
  4379.         {
  4380.               function        = HANDLE
  4381.               recolorable        = TRUE
  4382.               state                   = NORMAL
  4383.                  overlay_file        = "Images/Others/null.png"
  4384.                overlay_stretch        = FALSE
  4385.                 orientation        = VERTICAL
  4386.         }
  4387.         image
  4388.         {
  4389.               function        = HANDLE
  4390.               recolorable        = TRUE
  4391.               state                   = PRELIGHT
  4392.                  overlay_file        = "Images/Others/null.png"
  4393.                overlay_stretch        = FALSE
  4394.                 orientation        = VERTICAL
  4395.         }
  4396.         image
  4397.         {
  4398.               function        = HANDLE
  4399.               recolorable        = TRUE
  4400.               state                   = ACTIVE
  4401.                  overlay_file        = "Images/Panel/handle-v-pressed.png"
  4402.                overlay_stretch        = FALSE
  4403.                 orientation        = VERTICAL
  4404.         }
  4405.         image
  4406.         {
  4407.               function        = HANDLE
  4408.               recolorable        = TRUE
  4409.               state                   = INSENSITIVE
  4410.                  overlay_file        = "Images/Panel/handle-v-insens.png"
  4411.                overlay_stretch        = FALSE
  4412.                 orientation        = VERTICAL
  4413.         }
  4414.       
  4415.     }
  4416. }
  4417.  
  4418. widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.GtkNotebook.*" style "newwave-nautilus-sidebar"
  4419. #widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.*" style "newwave-nautilus-sidebar-handles"
  4420. widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.GtkNotebook.*Tree*" style "newwave-treeview-nautilus-sidebar"
  4421.  
  4422.  
  4423. style "newwave-nautilus-filemanager"
  4424. {
  4425.   #bg[NORMAL] = "##FFE68D"
  4426.   #base[NORMAL] = "#FF9E9E"
  4427.   bg_pixmap[NORMAL] = "Images/MenuMenubar/combomenu.png"
  4428. }
  4429. #widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.*FM*View.*" style "newwave-nautilus-filemanager"
  4430.  
  4431. # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  4432. # Note that the work around assumes that the combobox is _not_ in
  4433. # appears-as-list mode.
  4434. # Similar hack also in the menuitem style.
  4435. # This style does not affect GtkComboBoxEntry, it does have an effect
  4436. # on comboboxes in appears-as-list mode though.
  4437. style "newwave-combobox-text-color-workaround"
  4438. {
  4439.     text[NORMAL]      = @fg_color
  4440.     text[PRELIGHT]    = @fg_color
  4441.     text[SELECTED]    = @selected_fg_color
  4442.     text[ACTIVE]      = @fg_color
  4443.     text[INSENSITIVE] = darker (@bg_color)
  4444. }
  4445. widget_class "*.<GtkComboBox>.<GtkCellView>"        style "newwave-combobox-text-color-workaround"
  4446.  
  4447.  
  4448. # This inverts the menus of comboboxes - white bg and dark text
  4449. # Unfortunately it does not work on the obsolete option menus that are used by some apps.
  4450. style "newwave-menuitem-text-is-fg-color-workaround"
  4451. {
  4452.     
  4453.      engine "pixmap"
  4454.      {
  4455.         image
  4456.         {
  4457.           function            = BOX
  4458.           recolorable        = TRUE
  4459.           file            = "Images/MenuMenubar/menuitem.png"
  4460.           border            = { 2, 2, 2, 2 }
  4461.           stretch            = TRUE
  4462.         }
  4463.       }
  4464.     
  4465. }
  4466. widget "*.gtk-combobox-popup-menu.*"  style :highest "newwave-menuitem-text-is-fg-color-workaround"
  4467.  
  4468. style "newwave-popupmenu-workaround"
  4469. {
  4470.         fg[NORMAL]        = "#696969"
  4471.         fg[SELECTED]      = @text_color 
  4472.         
  4473.         bg[NORMAL]        = "#ffffff"
  4474.         
  4475.     text[NORMAL]        = @text_color
  4476.     text[PRELIGHT]      = @text_color
  4477.     text[SELECTED]      = @selected_fg_color
  4478.     text[ACTIVE]        = @fg_color
  4479.     text[INSENSITIVE]   = darker (@bg_color)
  4480.     
  4481.      engine "pixmap"
  4482.      {
  4483.         image
  4484.         {
  4485.           function            = BOX
  4486.           recolorable        = TRUE
  4487.           file            = "Images/MenuMenubar/combomenu.png"
  4488.           border            = { 1, 1, 1, 1 }
  4489.           stretch            = TRUE
  4490.         }
  4491.       }
  4492. }
  4493.  
  4494. widget "*.gtk-combobox-popup-menu"  style :highest  "newwave-popupmenu-workaround"
  4495.  
  4496.  
  4497.  
  4498. # Work around the usage of GtkLabel inside GtkListItems to display text.
  4499. # This breaks because the label is shown on a background that is based on the
  4500. # base color set.
  4501. style "newwave-fg-is-text-color-workaround"
  4502. {
  4503.     fg[NORMAL]      = @text_color
  4504.     fg[PRELIGHT]    = @text_color
  4505.     fg[ACTIVE]      = @selected_fg_color
  4506.     fg[SELECTED]    = @selected_fg_color
  4507.     fg[INSENSITIVE] = darker(@bg_color)
  4508.     
  4509.     text[ACTIVE]    = shade(0.43, @selected_bg_color)
  4510.     text[SELECTED]  = @text_color
  4511.     
  4512.     bg[NORMAL]      = @bg_color
  4513.     bg[SELECTED]    = @selected_bg_color
  4514.     
  4515.         engine "pixmap"
  4516.     {
  4517.         image
  4518.         {
  4519.             function        = BOX
  4520.             state           = ACTIVE
  4521.             border          = {2,2,2,2}
  4522.             file            = "Images/Tree/selected.png"
  4523.             stretch        = TRUE
  4524.         }
  4525.             image
  4526.         {
  4527.             function        = BOX
  4528.             state           = SELECTED
  4529.             border          = {2,2,2,2}
  4530.             file            = "Images/Tree/selected-active.png"
  4531.             stretch        = TRUE
  4532.         }
  4533.         image
  4534.         {
  4535.             function        = FLAT_BOX
  4536.             state           = SELECTED
  4537.             border          = {2,2,2,2}
  4538.             file            = "Images/Tree/selected.png"
  4539.             stretch        = TRUE
  4540.         }
  4541.     }
  4542. }
  4543.  
  4544. widget_class "*<GtkListItem>*"                 style "newwave-fg-is-text-color-workaround"
  4545. # The same problem also exists for GtkCList and GtkCTree
  4546. # Only match GtkCList and not the parent widgets, because that would also change the headers.
  4547.  
  4548. widget_class "*<GtkCList>"                 style "newwave-fg-is-text-color-workaround"
  4549.  
  4550.  
  4551. style "newwave-evo-new-button-workaround"
  4552. {
  4553.     xthickness = 3
  4554.     ythickness = 3
  4555.  
  4556.  
  4557.     engine "pixmap"
  4558.     {
  4559.     image
  4560.     {
  4561.         function            = BOX
  4562.         state                = NORMAL
  4563.         file                 = "Images/Toolbar/toolbar-evo.png"
  4564.         border                = { 3, 3, 3,3}
  4565.         stretch                = TRUE
  4566.         }
  4567.     image
  4568.     {
  4569.         function            = BOX
  4570.         state                = ACTIVE
  4571.         file                 = "Images/Toolbar/toolbar-evo.png"
  4572.         border                = { 3, 3, 3,3}
  4573.         stretch                = TRUE
  4574.         }
  4575.     image
  4576.     {
  4577.         function             = BOX
  4578.         state                 = INSENSITIVE
  4579.         file                 = "Images/Toolbar/toolbar-evo.png"
  4580.         border                = { 3, 3, 3,3}
  4581.         stretch                = TRUE
  4582.     }
  4583.      }
  4584. }
  4585.  
  4586. #This are some dirty hacks to make evolution look decent
  4587. # TODO: find out a better way to do that
  4588. #
  4589. # Fix the toolbar by using flat style 
  4590. widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "newwave-evo-new-button-workaround"
  4591. #Fix the New button that was broken when fixing the toolbar
  4592. widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem.InternalToolbar.BonoboUIToolbarControlItem.GtkVBox.BonoboWidget.BonoboSocket.BonoboPlug.EComboButton*"  style:highest  "newwave-button"  
  4593. # Fix the menu that was broken when fixing the toolbar
  4594. widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem.GtkMenuBar*" style "newwave-menubar"
  4595. # Fix the double entry search box in the top right corner
  4596. widget_class "*EShellWindow.GtkVBox.BonoboDock.GtkVBox.GtkHPaned.GtkNotebook.BonoboWidget.BonoboSocket.BonoboPlug.EMFolderBrowser.EFilterBar.GtkHBox.GtkHBox.EIconEntry.GtkHBox.GtkEntry" style  :highest "newwave-entry-nofocus"
  4597.  
  4598.  
  4599. #=========================================================
  4600. # Panel Matches 
  4601. #=========================================================
  4602.  
  4603.  
  4604.  
  4605. class "*Mail*"                     style "panel"
  4606. class "*Tray*"                 style "panel"
  4607. class "*tray*"                 style "panel"
  4608. widget_class "*Tray*"             style "panel"
  4609. widget_class "*tray*"             style "panel"
  4610. widget "*TrayIcon*"             style "panel"
  4611. class "*Panel*Applet*"             style "panel"
  4612. widget_class "*Panel*GtkToggleButton"     style "panel"
  4613. widget_class "*Panel*GtkButton"     style "panel"
  4614. widget_class "*.Panel*Button*GtkLabel" style "panel"
  4615. widget_class "*.Panel*GtkLabel"     style "panel"
  4616. widget "*PanelWidget*"             style "panel"
  4617. widget "*PanelApplet*"             style "panel"
  4618. class  "PanelApp*"             style "panel"
  4619. class  "PanelToplevel*"         style "panel"
  4620. widget_class "*Mail*"             style "panel"
  4621. widget_class "*Netstatus*"         style "panel"
  4622. widget_class "*Tomboy*Tray*"         style "panel"
  4623. widget "*fast-user-switch*"         style "panel"
  4624. widget_class "*PanelToplevel*"         style "panel"
  4625. class "Xfce*Panel*"             style "panel"
  4626. widget_class "*Xfce*Panel*"         style "panel"
  4627. widget_class "*PanelApplet*"         style "panel"
  4628. widget_class "*PanelWidget*"         style "panel"
  4629. # @author:dilomo@ cpu-frequency applet was with dark text. Fix it. 
  4630. widget_class "*FreqApplet*"        style "panel"
  4631.  
  4632. #(TODO:)fixes for banshee and drawers
  4633. #widget_class "*DrawerApplet*"        style "panel-nopixmap"
  4634.  
  4635. widget_class "*Panel*GtkToggleButton"                 style "newwave-panelbuttons"
  4636. widget        "*.tasklist-button"             style "newwave-panelbuttons"
  4637. widget_class "*PanelToplevel*Button"                 style "newwave-panelbuttons"
  4638. widget_class "*Xfce*Panel*.GtkToggleButton"             style "newwave-panelbuttons"
  4639. widget_class "*Xfce*NetkTasklist*GtkToggleButton"      style "newwave-panelbuttons"
  4640.  
  4641.  
  4642. # Theme panel elements
  4643. #widget "*PanelWidget*"                 style "panel"
  4644. #widget "*PanelApplet
  4645. #widget "*fast-user-switch*"                style "panel"
  4646. #class  "PanelApp*"                     style "panel"
  4647. #class  "PanelToplevel*"                 style "panel"
  4648. #widget_class "*Mail*"                     style "panel"
  4649. #widget_class "*notif*"                 style "panel"
  4650. #widget_class "*Notif*"                 style "panel"
  4651. # @author:dilomo@ cpu-frequency applet was with dark text. Fix it. 
  4652. #widget_class "*FreqApplet*"                style "panel"
  4653. #widget_class "*AllTray*"                               style "panel"
  4654. # @author:dilomo@ Only testing this as it is alpha software. 
  4655. #widget "*.globalmenu-applet-eventbox"                  style : highest "panel"
  4656.